Commit 915bb763 by Richard Kenner

(find_reloads): Bump REJECT for a hard register; just not for a

pseudo.

From-SVN: r5244
parent e7113111
......@@ -2935,7 +2935,9 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
If we are reloading a SCRATCH, we won't be generating any
insns, just using a register, so it is also preferred.
So bump REJECT in other cases. */
if (GET_CODE (operand) != REG && GET_CODE (operand) != SCRATCH)
if (! (GET_CODE (operand) == REG
&& REGNO (operand) >= FIRST_PSEUDO_REGISTER)
&& GET_CODE (operand) != SCRATCH)
reject++;
}
......
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