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/gcse.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/gcse.c')
-rw-r--r-- | gcc/gcse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1964,7 +1964,7 @@ hash_scan_set (pat, insn, set_p) /* Is SET_SRC something we want to gcse? */ && want_to_gcse_p (src) /* Don't CSE a nop. */ - && src != dest) + && ! set_noop_p (pat)) { /* An expression is not anticipatable if its operands are modified before this insn or if this is not the only SET in |