Re: [mep] RFA: Use new rtl iterators in global_reg_mentioned_p
> * config/mep/mep.c: Include rtl-iter.h. > (global_reg_mentioned_p_1): Take a const_rtx and return a bool. > (xtensa_tls_referenced_p): Return a bool. Use FOR_EACH_SUBRTX. OK.
[mep] RFA: Use new rtl iterators in global_reg_mentioned_p
This is part of a series to remove uses of for_each_rtx from the ports. The cases: case SCRATCH: case PC: case CC0: case CONST_INT: case CONST_DOUBLE: case CONST: case LABEL_REF: were just short-cuts to avoid looking through unnecessary subrtxes. SCRATCH, PC and CC0 do