* regmove.c (copy_src_to_dest) Do not create src->dest move
for unchanging destination. From-SVN: r32334
This commit is contained in:
parent
08d0be2f4c
commit
40546a785b
@ -1,3 +1,8 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user