arsenm added inline comments.
================ Comment at: llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp:191-199 + MCRegister RepReg; + for (MCRegister R : *MRI->getRegClass(Reg)) { + if (!MRI->isReserved(R)) { + RepReg = R; + break; + } + } ---------------- This is a problem because I've removed forAllLanes. This is a hack, we should be using a different register class for cases that don't support a given subregister index not scanning for an example non-reserved register Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96906/new/ https://reviews.llvm.org/D96906 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits