Commit 22162da3 by Jim Wilson

(sched_note_set): Set subreg_p for anything except a paradoxical subreg.

From-SVN: r2464
parent ea9c5b9e
......@@ -2042,11 +2042,10 @@ sched_note_set (b, x, death)
{
/* Must treat modification of just one hardware register of a multi-reg
value or just a byte field of a register exactly the same way that
mark_set_1 in flow.c does. */
if (GET_CODE (reg) == ZERO_EXTRACT
|| GET_CODE (reg) == SIGN_EXTRACT
|| (GET_CODE (reg) == SUBREG
&& REG_SIZE (SUBREG_REG (reg)) > REG_SIZE (reg)))
mark_set_1 in flow.c does, i.e. anything except a paradoxical subreg
does not kill the entire register. */
if (GET_CODE (reg) != SUBREG
|| REG_SIZE (SUBREG_REG (reg)) > REG_SIZE (reg))
subreg_p = 1;
reg = SUBREG_REG (reg);
......
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