RE: [MIPS] RFA: Use new rtl iterators in mips_small_data_pattern_p

2014-10-25 Thread Matthew Fortune
> gcc/ > * config/mips/mips.c: Include rtl-iter.h. > (mips_small_data_pattern_1): Take an rtx rather than an rtx pointer. > Take the context as a parameter instead of the containing MEM. > Iterate over all subrtxes. > (mips_small_data_pattern_p): Update call accordingl

[MIPS] RFA: Use new rtl iterators in mips_small_data_pattern_p

2014-10-25 Thread Richard Sandiford
This is part of a series to remove uses of for_each_rtx from the ports. Tested by making sure there were no code changes for gcc.dg, gcc.c-torture and g++.dg for mips64-elf. OK to install? Thanks, Richard gcc/ * config/mips/mips.c: Include rtl-iter.h. (mips_small_data_pattern_1