* combine.c (try_combine): Remove redundant test.
From-SVN: r37750
This commit is contained in:
parent
213858c013
commit
1786009e06
2 changed files with 17 additions and 16 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
|
||||
|
||||
* combine.c (try_combine): Remove redundant test.
|
||||
|
||||
2000-11-25 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* c-common.h (DECL_C_HARD_REGISTER): New.
|
||||
|
|
|
@ -2552,22 +2552,19 @@ try_combine (i3, i2, i1, new_direct_jump_p)
|
|||
|
||||
if (i3_subst_into_i2 && GET_CODE (PATTERN (i2)) == PARALLEL)
|
||||
{
|
||||
if (GET_CODE (PATTERN (i2)) == PARALLEL)
|
||||
{
|
||||
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
|
||||
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
|
||||
&& SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest
|
||||
&& ! find_reg_note (i2, REG_UNUSED,
|
||||
SET_DEST (XVECEXP (PATTERN (i2), 0, i))))
|
||||
for (temp = NEXT_INSN (i2);
|
||||
temp && (this_basic_block == n_basic_blocks - 1
|
||||
|| BLOCK_HEAD (this_basic_block) != temp);
|
||||
temp = NEXT_INSN (temp))
|
||||
if (temp != i3 && INSN_P (temp))
|
||||
for (link = LOG_LINKS (temp); link; link = XEXP (link, 1))
|
||||
if (XEXP (link, 0) == i2)
|
||||
XEXP (link, 0) = i3;
|
||||
}
|
||||
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
|
||||
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
|
||||
&& SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest
|
||||
&& ! find_reg_note (i2, REG_UNUSED,
|
||||
SET_DEST (XVECEXP (PATTERN (i2), 0, i))))
|
||||
for (temp = NEXT_INSN (i2);
|
||||
temp && (this_basic_block == n_basic_blocks - 1
|
||||
|| BLOCK_HEAD (this_basic_block) != temp);
|
||||
temp = NEXT_INSN (temp))
|
||||
if (temp != i3 && INSN_P (temp))
|
||||
for (link = LOG_LINKS (temp); link; link = XEXP (link, 1))
|
||||
if (XEXP (link, 0) == i2)
|
||||
XEXP (link, 0) = i3;
|
||||
|
||||
if (i3notes)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue