Commit 95ac07b0 by Alexandre Oliva Committed by Alexandre Oliva

combine.c (try_combine): Disregard USEs when updating LOG_LINKS of subsequent insns.

* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.

From-SVN: r37905
parent f2720858
2000-11-30 Alexandre Oliva <aoliva@redhat.com>
* combine.c (try_combine): Disregard USEs when updating LOG_LINKS
of subsequent insns.
2000-11-30 Richard Henderson <rth@redhat.com> 2000-11-30 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable. * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
......
...@@ -2553,7 +2553,8 @@ try_combine (i3, i2, i1, new_direct_jump_p) ...@@ -2553,7 +2553,8 @@ 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)
{ {
for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++) for (i = 0; i < XVECLEN (PATTERN (i2), 0); i++)
if (GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG if (GET_CODE (XVECEXP (PATTERN (i2), 0, i)) != USE
&& GET_CODE (SET_DEST (XVECEXP (PATTERN (i2), 0, i))) == REG
&& SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest && SET_DEST (XVECEXP (PATTERN (i2), 0, i)) != i2dest
&& ! find_reg_note (i2, REG_UNUSED, && ! find_reg_note (i2, REG_UNUSED,
SET_DEST (XVECEXP (PATTERN (i2), 0, i)))) SET_DEST (XVECEXP (PATTERN (i2), 0, i))))
......
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