(save_call_clobbered_regs): If AUTO_INC_DEC, mark register indicated
by REG_INC notes as live so they will be saved. From-SVN: r10010
This commit is contained in:
parent
0f8f654e50
commit
0887bd4b9a
@ -473,7 +473,14 @@ save_call_clobbered_regs (insn_mode)
|
|||||||
n_regs_saved++;
|
n_regs_saved++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
note_stores (PATTERN (insn), set_reg_live);
|
{
|
||||||
|
note_stores (PATTERN (insn), set_reg_live);
|
||||||
|
#ifdef AUTO_INC_DEC
|
||||||
|
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
|
||||||
|
if (REG_NOTE_KIND (link) == REG_INC)
|
||||||
|
set_reg_live (XEXP (link, 0), NULL_RTX);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
|
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))
|
||||||
if (REG_NOTE_KIND (link) == REG_UNUSED)
|
if (REG_NOTE_KIND (link) == REG_UNUSED)
|
||||||
|
Loading…
Reference in New Issue
Block a user