diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-14 20:15:13 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-14 20:15:13 +0000 |
commit | 53fffe66067d85062e7736d487e94049ffccc644 (patch) | |
tree | 3085a6e478e08536454831e0b1720bcba93526a0 /gcc/cse.c | |
parent | ea0ebc5e7c406ca02b86e7ad13ae4ae16d52b001 (diff) | |
download | gcc-53fffe66067d85062e7736d487e94049ffccc644.tar.gz |
* cselib.c (clear_table): Do not take argument; always clear just
used slots.
(cselib_process_insn): Update call of clear_table
(cselib_init): Do not call clear_table.
(cselib_finish): Clear table.
* cse.c (count_reg_usage): Do not check side_effects_p.
* rtlanal.c (set_noop_p): Check side_effects_p only when set looks
like noop.
(find_reg_equal_equiv_note): Do not use find_reg_note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index 6321c7c6dd9..9f6b96d20ce 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -7494,15 +7494,8 @@ count_reg_usage (x, counts, dest, incr) /* Unless we are setting a REG, count everything in SET_DEST. */ if (GET_CODE (SET_DEST (x)) != REG) count_reg_usage (SET_DEST (x), counts, NULL_RTX, incr); - - /* If SRC has side-effects, then we can't delete this insn, so the - usage of SET_DEST inside SRC counts. - - ??? Strictly-speaking, we might be preserving this insn - because some other SET has side-effects, but that's hard - to do and can't happen now. */ count_reg_usage (SET_SRC (x), counts, - side_effects_p (SET_SRC (x)) ? NULL_RTX : SET_DEST (x), + SET_DEST (x), incr); return; |