Commit c8608706 by James Van Artsdalen

(record_reg_life): Mark an unused reg as such, even if it appears in

SET_SRC.

From-SVN: r1993
parent 8a6c1538
......@@ -1106,8 +1106,7 @@ record_reg_life (insn, block, regstack)
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_DEAD,
FP_mode_reg[regno][(int) DFmode],
REG_NOTES (insn));
else if (TEST_HARD_REG_BIT (dest, regno)
&& ! TEST_HARD_REG_BIT (src, regno))
else if (TEST_HARD_REG_BIT (dest, regno))
REG_NOTES (insn) = gen_rtx (EXPR_LIST, REG_UNUSED,
FP_mode_reg[regno][(int) DFmode],
REG_NOTES (insn));
......
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