Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> writes: > This patch is a simple fix to allow decompose_address to handle > SCRATCH'es during 2nd scheduler pass. This patch is a prerequisite for a > scheduler improvement that relies on decompose_address to parse insns. > > Bootstrapped and regtested on x86_64-linux-gnu and regtested on > arm-linux-gnueabihf and aarch64-linux-gnu.
Can't approve it, but FWIW, as the author of the original code it looks good to me. I agree (mem (scratch)) as an idiom for a mem with an unknown address should be handled here. Thanks, Richard