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
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue