rtlanal.c (noop_move_p): Check the code to be executed for COND_EXEC.
* rtlanal.c (noop_move_p): Check the code to be executed for COND_EXEC. From-SVN: r200061
This commit is contained in:
parent
8aaba3a9a7
commit
8f7e6e330b
|
@ -1,3 +1,8 @@
|
|||
2013-06-13 Bin Cheng <bin.cheng@arm.com>
|
||||
|
||||
* rtlanal.c (noop_move_p): Check the code to be executed for
|
||||
COND_EXEC.
|
||||
|
||||
2013-06-13 Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
* tree-ssa-forwprop.c (simplify_bitwise_binary, associate_plusminus):
|
||||
|
|
|
@ -1199,6 +1199,10 @@ noop_move_p (const_rtx insn)
|
|||
if (find_reg_note (insn, REG_EQUAL, NULL_RTX))
|
||||
return 0;
|
||||
|
||||
/* Check the code to be executed for COND_EXEC. */
|
||||
if (GET_CODE (pat) == COND_EXEC)
|
||||
pat = COND_EXEC_CODE (pat);
|
||||
|
||||
if (GET_CODE (pat) == SET && set_noop_p (pat))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue