PR rtl-opt/24160
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2005 17:23:23 +0000 (17:23 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2005 17:23:23 +0000 (17:23 +0000)
commit2e4905ea95c15039fe5f88faaa8e36df36a9a751
tree479e47b191740fed0eb2763df9e6cdf379877114
parentf2e0dda3066e3d34f0c5424885bf4b1e5591fd81
    PR rtl-opt/24160
        PR target/24621
        * reload1.c (reg_equiv_invariant): New.
        (reload): Allocate, initialize, and free it.
        (calculate_needs_all_insns): Check it when skipping equivalence
        setting insns.
        (alter_reg): Likewise.
        (eliminate_regs_1): Rename from eliminate_regs.  Add new
        may_use_invariant argument; only use reg_equiv_invariant when true.
        (eliminate_regs): New.
        (eliminate_regs_in_insn): Use eliminate_regs_1; track when we're in
        a context for which may_use_invariant may be true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107093 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload1.c