mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-29 17:11:12 +08:00
Complete change to resolve pr90275.
PR rtl-optimization/90275 * cse.c (cse_insn): Delete no-op register moves too.
This commit is contained in:
parent
3512dc0108
commit
529ea7d959
@ -1,3 +1,8 @@
|
||||
2020-03-12 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
PR rtl-optimization/90275
|
||||
* cse.c (cse_insn): Delete no-op register moves too.
|
||||
|
||||
2020-03-18 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR ipa/92799
|
||||
|
@ -5329,7 +5329,6 @@ cse_insn (rtx_insn *insn)
|
||||
else if (n_sets == 1
|
||||
&& !CALL_P (insn)
|
||||
&& (MEM_P (trial) || REG_P (trial))
|
||||
&& MEM_P (dest)
|
||||
&& rtx_equal_p (trial, dest)
|
||||
&& !side_effects_p (dest)
|
||||
&& (cfun->can_delete_dead_exceptions
|
||||
|
Loading…
x
Reference in New Issue
Block a user