Commit 529ea7d9 by Jeff Law

Complete change to resolve pr90275.

	PR rtl-optimization/90275
	* cse.c (cse_insn): Delete no-op register moves too.
parent 3512dc01
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> 2020-03-18 Martin Sebor <msebor@redhat.com>
PR ipa/92799 PR ipa/92799
......
...@@ -5329,7 +5329,6 @@ cse_insn (rtx_insn *insn) ...@@ -5329,7 +5329,6 @@ cse_insn (rtx_insn *insn)
else if (n_sets == 1 else if (n_sets == 1
&& !CALL_P (insn) && !CALL_P (insn)
&& (MEM_P (trial) || REG_P (trial)) && (MEM_P (trial) || REG_P (trial))
&& MEM_P (dest)
&& rtx_equal_p (trial, dest) && rtx_equal_p (trial, dest)
&& !side_effects_p (dest) && !side_effects_p (dest)
&& (cfun->can_delete_dead_exceptions && (cfun->can_delete_dead_exceptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment