* rtlanal.c (dead_or_set_regno_p): Fix COND_EXEC handling.
From-SVN: r191586
This commit is contained in:
parent
8750dfc52c
commit
10439b597d
|
@ -1,3 +1,7 @@
|
|||
2012-09-20 Joern Rennecke <joern.rennecke@embecosm.com>
|
||||
|
||||
* rtlanal.c (dead_or_set_regno_p): Fix COND_EXEC handling.
|
||||
|
||||
2012-09-20 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* tree-ssa-operands.c (get_expr_operands): Merge identical cases.
|
||||
|
|
|
@ -1701,8 +1701,9 @@ dead_or_set_regno_p (const_rtx insn, unsigned int test_regno)
|
|||
|
||||
pattern = PATTERN (insn);
|
||||
|
||||
/* If a COND_EXEC is not executed, the value survives. */
|
||||
if (GET_CODE (pattern) == COND_EXEC)
|
||||
pattern = COND_EXEC_CODE (pattern);
|
||||
return 0;
|
||||
|
||||
if (GET_CODE (pattern) == SET)
|
||||
return covers_regno_p (SET_DEST (pattern), test_regno);
|
||||
|
|
Loading…
Reference in New Issue