Commit 1786009e by Zack Weinberg Committed by Zack Weinberg

* combine.c (try_combine): Remove redundant test.

From-SVN: r37750
parent 213858c0
2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
* combine.c (try_combine): Remove redundant test.
2000-11-25 Richard Henderson <rth@redhat.com> 2000-11-25 Richard Henderson <rth@redhat.com>
* c-common.h (DECL_C_HARD_REGISTER): New. * c-common.h (DECL_C_HARD_REGISTER): New.
......
...@@ -2552,22 +2552,19 @@ try_combine (i3, i2, i1, new_direct_jump_p) ...@@ -2552,22 +2552,19 @@ try_combine (i3, i2, i1, new_direct_jump_p)
if (i3_subst_into_i2 && GET_CODE (PATTERN (i2)) == PARALLEL) 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
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++) && SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG && ! find_reg_note (i2, REG_UNUSED,
&& SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest SET_DEST (XVECEXP (PATTERN (i2), 0, i))))
&& ! find_reg_note (i2, REG_UNUSED, for (temp = NEXT_INSN (i2);
SET_DEST (XVECEXP (PATTERN (i2), 0, i)))) temp && (this_basic_block == n_basic_blocks - 1
for (temp = NEXT_INSN (i2); || BLOCK_HEAD (this_basic_block) != temp);
temp && (this_basic_block == n_basic_blocks - 1 temp = NEXT_INSN (temp))
|| BLOCK_HEAD (this_basic_block) != temp); if (temp != i3 && INSN_P (temp))
temp = NEXT_INSN (temp)) for (link = LOG_LINKS (temp); link; link = XEXP (link, 1))
if (temp != i3 && INSN_P (temp)) if (XEXP (link, 0) == i2)
for (link = LOG_LINKS (temp); link; link = XEXP (link, 1)) XEXP (link, 0) = i3;
if (XEXP (link, 0) == i2)
XEXP (link, 0) = i3;
}
if (i3notes) if (i3notes)
{ {
......
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