Commit d4096689 by Richard Kenner

(try_combine): When splitting an insn, check for the new I2 setting a

SUBREG.

From-SVN: r13286
parent 0bc8ae6e
...@@ -1845,10 +1845,15 @@ try_combine (i3, i2, i1) ...@@ -1845,10 +1845,15 @@ try_combine (i3, i2, i1)
|| GET_CODE (new_i3_dest) == SUBREG) || GET_CODE (new_i3_dest) == SUBREG)
new_i3_dest = XEXP (new_i3_dest, 0); new_i3_dest = XEXP (new_i3_dest, 0);
while (GET_CODE (new_i2_dest) == ZERO_EXTRACT
|| GET_CODE (new_i2_dest) == STRICT_LOW_PART
|| GET_CODE (new_i2_dest) == SUBREG)
new_i2_dest = XEXP (new_i2_dest, 0);
if (GET_CODE (new_i3_dest) == REG if (GET_CODE (new_i3_dest) == REG
&& GET_CODE (new_i2_dest) == REG && GET_CODE (new_i2_dest) == REG
&& REGNO (new_i3_dest) == REGNO (new_i2_dest)) && REGNO (new_i3_dest) == REGNO (new_i2_dest))
reg_n_sets[REGNO (SET_DEST (i2set))]++; reg_n_sets[REGNO (new_i2_dest)]++;
} }
} }
......
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