This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Use hard_reg_set_iterator in a few places


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?

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]