On Mon, Oct 15, 2012 at 6:42 PM, Steven Bosscher wrote: > Hello, > > GCC has hard_reg_set_iterator to iterate quickly over a HARD_REG_SET, > but it's not used a lot. Attached patch makes a few files use it to > iterate over regs_invalidated_by_call. If this is OK, I'd like to > convert loops over HARD_REG_SETs to iterators where possible. > > Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk?
It's been pointed out to me that attaching the patch would make reviewing somewhat easier. Ciao! Steven
hrsi-1.diff
Description: Binary data