Commit 6ec87b9d by James Van Artsdalen

(emit_swap_insn): Don't link cc0 insns: emit swap after cc0 user.

From-SVN: r3953
parent 8877eb00
......@@ -1587,8 +1587,12 @@ emit_swap_insn (insn, regstack, reg)
return;
}
if (sets_cc0_p (PATTERN (i1)))
link_cc0_insns (i1);
if (GET_RTX_CLASS (GET_CODE (i1)) == 'i' && sets_cc0_p (PATTERN (i1)))
{
i1 = next_nonnote_insn (i1);
if (i1 == insn)
abort ();
}
swap_rtx = gen_swapdf (FP_mode_reg[hard_regno][(int) DFmode],
FP_mode_reg[FIRST_STACK_REG][(int) DFmode]);
......
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