Commit b768aa38 by Jeffrey A Law Committed by Jeff Law

local-alloc.c (update_equiv_regs): Check the correct insn for pre-existing REG_EQUIV notes.


        * local-alloc.c (update_equiv_regs): Check the correct insn
        for pre-existing REG_EQUIV notes.

From-SVN: r30111
parent 16b702cd
Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
* local-alloc.c (update_equiv_regs): Check the correct insn
for pre-existing REG_EQUIV notes.
Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com> Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
* cse.c (cse_end_of_basic_block): Don't return the end of a basic * cse.c (cse_end_of_basic_block): Don't return the end of a basic
......
...@@ -761,7 +761,8 @@ update_equiv_regs () ...@@ -761,7 +761,8 @@ update_equiv_regs ()
&& REG_N_SETS (regno) == 1 && REG_N_SETS (regno) == 1
&& reg_equiv_init_insns[regno] != 0 && reg_equiv_init_insns[regno] != 0
&& reg_equiv_init_insns[regno] != const0_rtx && reg_equiv_init_insns[regno] != const0_rtx
&& ! find_reg_note (insn, REG_EQUIV, NULL_RTX) && ! find_reg_note (XEXP (reg_equiv_init_insns[regno], 0),
REG_EQUIV, NULL_RTX)
&& ! contains_replace_regs (XEXP (dest, 0), reg_equiv_replace)) && ! contains_replace_regs (XEXP (dest, 0), reg_equiv_replace))
{ {
rtx init_insn = XEXP (reg_equiv_init_insns[regno], 0); rtx init_insn = XEXP (reg_equiv_init_insns[regno], 0);
......
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