Commit 524e3576 by Steven Bosscher

cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.

        * cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
        (cse_insn): Likewise for the stack_pointer_rtx.

From-SVN: r114492
parent b60f92a3
2006-06-08 Steven Bosscher <steven@gcc.gnu.org>
* cse.c (flush_hash_table): Use VOIDmode to invalidate a REG.
(cse_insn): Likewise for the stack_pointer_rtx.
2006-06-08 Roger Sayle <roger@eyesopen.com>
* tree-ssa-dom.c (record_conditions): Only record "unordered"
......
......@@ -1724,7 +1724,7 @@ flush_hash_table (void)
/* Note that invalidate can remove elements
after P in the current hash chain. */
if (REG_P (p->exp))
invalidate (p->exp, p->mode);
invalidate (p->exp, VOIDmode);
else
remove_from_table (p, i);
}
......@@ -5723,7 +5723,7 @@ cse_insn (rtx insn, rtx libcall_insn)
rtx addr = XEXP (dest, 0);
if (GET_RTX_CLASS (GET_CODE (addr)) == RTX_AUTOINC
&& XEXP (addr, 0) == stack_pointer_rtx)
invalidate (stack_pointer_rtx, Pmode);
invalidate (stack_pointer_rtx, VOIDmode);
#endif
dest = fold_rtx (dest, insn);
}
......
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