Commit f3ea0706 by J"orn Rennecke Committed by Joern Rennecke

cse.c (cse_set_around_loop): When changing a constant load to a register…

cse.c (cse_set_around_loop): When changing a constant load to a register -register copy, add a REG_EQUAL note.

	* cse.c (cse_set_around_loop): When changing a constant load
	to a register -register copy, add a REG_EQUAL note.

From-SVN: r74007
parent a3d4c92f
2003-11-27 J"orn Rennecke <joern.rennecke@superh.com>
* cse.c (cse_set_around_loop): When changing a constant load
to a register -register copy, add a REG_EQUAL note.
2003-11-27 Randolph Chung <tausq@debian.org>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
......
......@@ -6676,6 +6676,10 @@ cse_set_around_loop (rtx x, rtx insn, rtx loop_start)
}
else
{
if (CONSTANT_P (SET_SRC (set))
&& ! find_reg_equal_equiv_note (insn))
set_unique_reg_note (insn, REG_EQUAL,
SET_SRC (set));
if (control_flow_insn_p (p))
/* p can cause a control flow transfer so it
is the last insn of a basic block. We can't
......
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