Ignore no-ops in cprop pass.
From-SVN: r28901
This commit is contained in:
parent
49b1e9eb96
commit
21e3a71724
@ -1,3 +1,7 @@
|
||||
Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* gcse.c (hash_scan_insn): Don't scan obvious no-ops.
|
||||
|
||||
1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
|
||||
|
||||
* tree.h: fancy_abort always takes three args.
|
||||
|
@ -1919,7 +1919,11 @@ hash_scan_insn (insn, set_p, in_libcall_block)
|
||||
what's been modified. */
|
||||
|
||||
if (GET_CODE (pat) == SET && ! in_libcall_block)
|
||||
hash_scan_set (pat, insn, set_p);
|
||||
{
|
||||
/* Ignore obvious no-ops. */
|
||||
if (SET_SRC (pat) != SET_DEST (pat))
|
||||
hash_scan_set (pat, insn, set_p);
|
||||
}
|
||||
else if (GET_CODE (pat) == PARALLEL)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user