Re: [9/9] Simplify register bitmap operations

2015-05-18 Thread Jeff Law
On 05/18/2015 12:27 PM, Richard Sandiford wrote: After the previous changes, several callers are left with code like: if (HARD_REGISTER_P (x)) bitmap_foo_range (x, REGNO (x), REG_NREGS (x)); else bitmap_foo (x, REGNO (x)); These might as well now be: if (REG_NREGS (x) > 1)

[9/9] Simplify register bitmap operations

2015-05-18 Thread Richard Sandiford
After the previous changes, several callers are left with code like: if (HARD_REGISTER_P (x)) bitmap_foo_range (x, REGNO (x), REG_NREGS (x)); else bitmap_foo (x, REGNO (x)); These might as well now be: if (REG_NREGS (x) > 1) bitmap_foo_range (x, REGNO (x), REG_NREGS (x)); els