jayfoad wrote: > LGTM. I assume global-isel doesn't have this problem? I think GISel is OK because it is already calling `AMDGPUInstrInfo::isUniformMMO` from `AMDGPURegisterBankInfo::isScalarLoadLegal`. https://github.com/llvm/llvm-project/pull/108029