arsenm wrote: > I'm not sure whether `SITargetLowering::widenLoad` needs any update. What optimization is it trying to perform? It's trying to turn 8 and 16-bit scalar loads into SMEM eligible 32-bit loads https://github.com/llvm/llvm-project/pull/77633