> The attached patch implements the isLegalAddressingMode and > getScalingFactorCost APIs, mirroring those in the ARM64 backend. Please > take a look. This is the same as D3331 isn't it? Let me know if I've missed something and you still want separate review on these. Tim.