Commit 40546a78 by Thomas Schuster Committed by Mark Mitchell

* regmove.c (copy_src_to_dest) Do not create src->dest move

	for unchanging destination.

From-SVN: r32334
parent 08d0be2f
2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
* regmove.c (copy_src_to_dest) Do not create src->dest move
for unchanging destination.
2000-03-04 Mark Mitchell <mark@codesourcery.com>
* function.h (struct sequence_stack): Remove rtl_expr.
......
......@@ -760,6 +760,7 @@ copy_src_to_dest (insn, src, dest, old_max_uid)
if (GET_CODE (src) == REG
&& REG_LIVE_LENGTH (REGNO (src)) > 0
&& GET_CODE (dest) == REG
&& !RTX_UNCHANGING_P (dest)
&& REG_LIVE_LENGTH (REGNO (dest)) > 0
&& (set = single_set (insn)) != NULL_RTX
&& !reg_mentioned_p (dest, SET_SRC (set))
......
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