registers for other pseudos referenced in the insn. The most
common case of this is a scratch register which will be
transformed to scratch back at the end of LRA. */
- && lra_get_regno_hard_regno (regno) >= 0
&& bitmap_single_bit_set_p (&lra_reg_info[regno].insn_bitmap))
{
- lra_change_class (regno, NO_REGS, " Change to", true);
+ if (lra_get_allocno_class (regno) != NO_REGS)
+ lra_change_class (regno, NO_REGS, " Change to", true);
reg_renumber[regno] = -1;
}
/* We can do an optional reload. If the pseudo got a hard