Commit d7836e38 by Aldy Hernandez Committed by Aldy Hernandez

do not propagate constants into jump_insn's for machines with CC0, more than once

From-SVN: r37039
parent 5e2c51ba
2000-10-24 Aldy Hernandez <aldyh@redhat.com>
* gcse.c (cprop_insn): do not propagate constants into jump_insn
for machines with CC0 more than once.
2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com> 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
* config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
......
...@@ -3948,7 +3948,13 @@ cprop_insn (insn, alter_jumps) ...@@ -3948,7 +3948,13 @@ cprop_insn (insn, alter_jumps)
&& GET_CODE (NEXT_INSN (insn)) == JUMP_INSN && GET_CODE (NEXT_INSN (insn)) == JUMP_INSN
&& condjump_p (NEXT_INSN (insn)) && condjump_p (NEXT_INSN (insn))
&& ! simplejump_p (NEXT_INSN (insn))) && ! simplejump_p (NEXT_INSN (insn)))
changed |= cprop_cc0_jump (insn, reg_used, src); {
if (cprop_cc0_jump (insn, reg_used, src))
{
changed = 1;
break;
}
}
#endif #endif
} }
else if (GET_CODE (src) == REG else if (GET_CODE (src) == REG
......
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