reload1.c (check_eliminable_occurrences): Optimize the reset of can_eliminate.
* reload1.c (check_eliminable_occurrences): Optimize the reset of can_eliminate. (eliminate_regs_in_insn): Likewise. From-SVN: r77427
This commit is contained in:
parent
15d7206087
commit
761fa0f7a2
@ -1,3 +1,9 @@
|
||||
2004-02-06 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* reload1.c (check_eliminable_occurrences): Optimize the reset
|
||||
of can_eliminate.
|
||||
(eliminate_regs_in_insn): Likewise.
|
||||
|
||||
2004-02-06 Daniel Berlin <dberlin@dberlin.org>
|
||||
Josef Zlomek <zlomekj@suse.cz>
|
||||
|
||||
|
@ -2834,7 +2834,7 @@ check_eliminable_occurrences (rtx x)
|
||||
struct elim_table *ep;
|
||||
|
||||
for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS]; ep++)
|
||||
if (ep->from_rtx == x && ep->can_eliminate)
|
||||
if (ep->from_rtx == x)
|
||||
ep->can_eliminate = 0;
|
||||
return;
|
||||
}
|
||||
@ -3100,7 +3100,7 @@ eliminate_regs_in_insn (rtx insn, int replace)
|
||||
eliminate this reg. */
|
||||
for (ep = reg_eliminate; ep < ®_eliminate[NUM_ELIMINABLE_REGS];
|
||||
ep++)
|
||||
if (ep->from_rtx == orig_operand[i] && ep->can_eliminate)
|
||||
if (ep->from_rtx == orig_operand[i])
|
||||
ep->can_eliminate = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user