summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-04 05:03:29 +0000
committerwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-04 05:03:29 +0000
commitc955554ce3546834af823086e1e60fe8e8f74adf (patch)
tree540dcb2ec38a4d7571f50545eadd91725b7f7b97 /gcc/recog.c
parentc5144efad50d69be3950517725625f18c7b11b3e (diff)
downloadgcc-c955554ce3546834af823086e1e60fe8e8f74adf.tar.gz
* rtl.h (set_noop_p): Declare.
* flow.c (set_noop_p): Move from here ... * rtlanal.c (set_noop_p): ... to here and enhance. * cse.c (delete_trivially_dead_insns): Use it. * gcse.c (hash_scan_set): Likewise. * jump.c (delete_noop_moves): Likewise. * recog.c (split_all_insns): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41077 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index e278f985529..bc7c712de24 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2882,7 +2882,7 @@ split_all_insns (upd_life)
break the code that handles REG_NO_CONFLICT blocks. */
else if ((set = single_set (insn)) != NULL
- && rtx_equal_p (SET_SRC (set), SET_DEST (set)))
+ && set_noop_p (set))
{
/* Nops get in the way while scheduling, so delete them
now if register allocation has already been done. It