reload1.c (finish_spills): Do not check ira_conflicts_p when handling spilled pseudos.

* reload1.c (finish_spills): Do not check ira_conflicts_p when
	handling spilled pseudos.

From-SVN: r274240
This commit is contained in:
Vladimir Makarov 2019-08-09 21:22:22 +00:00 committed by Jeff Law
parent ef4ddda8c2
commit 394ae89b0a
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2019-09-09 Vladimir Makarov <vmakarov@redhat.com>
* reload1.c (finish_spills): Do not check ira_conflicts_p when
handling spilled pseudos.
2019-09-09 Richard Earnshaw <rearnsha@arm.com>
PR target/91386

View file

@ -4225,13 +4225,8 @@ finish_spills (int global)
spill_reg_order[i] = -1;
EXECUTE_IF_SET_IN_REG_SET (&spilled_pseudos, FIRST_PSEUDO_REGISTER, i, rsi)
if (! ira_conflicts_p || reg_renumber[i] >= 0)
if (reg_renumber[i] >= 0)
{
/* Record the current hard register the pseudo is allocated to
in pseudo_previous_regs so we avoid reallocating it to the
same hard reg in a later pass. */
gcc_assert (reg_renumber[i] >= 0);
SET_HARD_REG_BIT (pseudo_previous_regs[i], reg_renumber[i]);
/* Mark it as no longer having a hard register home. */
reg_renumber[i] = -1;