(try_pre_increment_1): Don't try to create a pre-increment expression
if the register dies in the succeeding insn. From-SVN: r7308
This commit is contained in:
parent
4ac0968744
commit
89861c3867
|
@ -2516,6 +2516,9 @@ try_pre_increment_1 (insn)
|
|||
rtx y = reg_next_use[regno];
|
||||
if (y != 0
|
||||
&& BLOCK_NUM (y) == BLOCK_NUM (insn)
|
||||
/* Don't do this if the reg dies, or gets set in y; a standard addressing
|
||||
mode would be better. */
|
||||
&& ! dead_or_set_p (y, SET_DEST (x))
|
||||
&& try_pre_increment (y, SET_DEST (PATTERN (insn)),
|
||||
amount))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue