diff options
author | John Wehle <john@feith.com> | 2001-04-04 05:03:29 +0000 |
---|---|---|
committer | John Wehle <wehle@gcc.gnu.org> | 2001-04-04 05:03:29 +0000 |
commit | 7142e318454d40004a3b1b3fe86faf5f1c12fefb (patch) | |
tree | 540dcb2ec38a4d7571f50545eadd91725b7f7b97 /gcc/recog.c | |
parent | 0c918ce59cdb3039f78d82bf848a311cac7cc5a3 (diff) | |
download | gcc-7142e318454d40004a3b1b3fe86faf5f1c12fefb.zip gcc-7142e318454d40004a3b1b3fe86faf5f1c12fefb.tar.gz gcc-7142e318454d40004a3b1b3fe86faf5f1c12fefb.tar.bz2 |
rtl.h (set_noop_p): Declare.
* 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.
From-SVN: r41077
Diffstat (limited to 'gcc/recog.c')
-rw-r--r-- | gcc/recog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c index e278f98..bc7c712 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 |