Re: Tweak IRA checks for singleton register classes

2012-10-01 Thread Vladimir Makarov
On 12-09-30 2:21 PM, Richard Sandiford wrote: IRA has code to check whether there is only a single acceptable register for a given operand. This code uses conditions like: ira_class_hard_regs_num[cl] != 0 && (ira_class_hard_regs_num[cl] <= ira_reg_class_max_nregs[cl][mode]) i.e. the numb

Tweak IRA checks for singleton register classes

2012-09-30 Thread Richard Sandiford
IRA has code to check whether there is only a single acceptable register for a given operand. This code uses conditions like: ira_class_hard_regs_num[cl] != 0 && (ira_class_hard_regs_num[cl] <= ira_reg_class_max_nregs[cl][mode]) i.e. the number of registers needed to store the mode is >= the