Re: [ARM] RFA: Use new rtl iterators in arm_find_sub_rtx_with_code

2014-11-07 Thread Richard Earnshaw
On 05/11/14 11:49, Richard Sandiford wrote: > I think these functions only want to iterate over instruction patterns > rather than whole instructions (which would include things like > REG_EQUAL notes), since only the patterns are relevant for finding > dependencies. There's then no need to check

[ARM] RFA: Use new rtl iterators in arm_find_sub_rtx_with_code

2014-11-05 Thread Richard Sandiford
I think these functions only want to iterate over instruction patterns rather than whole instructions (which would include things like REG_EQUAL notes), since only the patterns are relevant for finding dependencies. There's then no need to check for null rtxes. Tested by making sure there were no