PR rtl-optimization/87600
* ira-lives (non_conflicting_reg_copy_p): Disable for non LRA targets.
From-SVN: r265113
+2018-10-12 Peter Bergner <bergner@linux.ibm.com>
+
+ PR rtl-optimization/87600
+ * ira-lives (non_conflicting_reg_copy_p): Disable for non LRA targets.
+
2018-10-12 Paul Koning <ni1d@arrl.net>
* doc/md.texi (doloop_end): Document that the pattern code may
rtx
non_conflicting_reg_copy_p (rtx_insn *insn)
{
+ /* Reload has issues with overlapping pseudos being assigned to the
+ same hard register, so don't allow it. See PR87600 for details. */
+ if (!targetm.lra_p ())
+ return NULL_RTX;
+
rtx set = single_set (insn);
/* Disallow anything other than a simple register to register copy