Commit 09d84e04 by Alexandre Oliva Committed by Alexandre Oliva

lcm.c (optimize_mode_switching): Emit mode_set before the JUMP_INSN of an abnormal edge.

* lcm.c (optimize_mode_switching): Emit mode_set before the
JUMP_INSN of an abnormal edge.

From-SVN: r39518
parent bdc624db
2001-02-07 Alexandre Oliva <aoliva@redhat.com>
* lcm.c (optimize_mode_switching): Emit mode_set before the
JUMP_INSN of an abnormal edge.
2001-02-07 Bernd Schmidt <bernds@redhat.com>
* builtins.c (expand_builtin_setjmp_receiver): Emit an ASM_INPUT as
......
......@@ -1227,7 +1227,10 @@ optimize_mode_switching (file)
previous block. */
if (eg->flags & EDGE_ABNORMAL)
{
src_bb->end = emit_insn_after (mode_set, src_bb->end);
if (GET_CODE (src_bb->end) == JUMP_INSN)
emit_insn_before (mode_set, src_bb->end);
else
src_bb->end = emit_insn_after (mode_set, src_bb->end);
bb_info[j][src_bb->index].computing = mode;
RESET_BIT (transp[src_bb->index], j);
}
......
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