Commit 65189757 by Richard Henderson Committed by Richard Henderson

ifcvt.c (noce_process_if_block): Don't use an insn_b from test_bb if insn_a uses x.

        * ifcvt.c (noce_process_if_block): Don't use an insn_b from
        test_bb if insn_a uses x.

From-SVN: r33737
parent 507741dd
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* flow.c (mark_set_1): Respect not_dead when updating reg_live. * flow.c (mark_set_1): Respect not_dead when updating reg_live.
* ifcvt.c (noce_process_if_block): Don't use an insn_b from
test_bb if insn_a uses x.
2000-05-06 Zack Weinberg <zack@wolery.cumb.org> 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* cpphash.h: Remove conditional #define of __extension__. * cpphash.h: Remove conditional #define of __extension__.
......
...@@ -1078,7 +1078,8 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb) ...@@ -1078,7 +1078,8 @@ noce_process_if_block (test_bb, then_bb, else_bb, join_bb)
|| GET_CODE (insn_b) != INSN || GET_CODE (insn_b) != INSN
|| (set_b = single_set (insn_b)) == NULL_RTX || (set_b = single_set (insn_b)) == NULL_RTX
|| ! rtx_equal_p (x, SET_DEST (set_b)) || ! rtx_equal_p (x, SET_DEST (set_b))
|| reg_mentioned_p (x, cond)) || reg_mentioned_p (x, cond)
|| reg_mentioned_p (x, a))
insn_b = set_b = NULL_RTX; insn_b = set_b = NULL_RTX;
} }
b = (set_b ? SET_SRC (set_b) : x); b = (set_b ? SET_SRC (set_b) : x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment