This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: better register prefs with CLASS_CANNOT_CHANGE_SIZE
On Sat, May 27, 2000 at 10:39:26PM -0700, Geoff Keating wrote:
> * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
> (class_can_change_size): New variable.
> (reg_changes_size): New variable.
> (init_reg_sets_1): Initialise class_can_change_size.
> (record_operand_costs): Remove subreg_changes_size.
> Don't pass it around. Instead update reg_changes_size.
> (regclass): Initialise and free reg_changes_size. If a register
> changes size, don't preference it to a class that contains
> registers that can't change size.
> (record_reg_classes): Don't look at subreg_changes_size.
Ok.
r~