[llvm] [AMDGPU] Use AllowLDSDMA=false in non-hazard passes (part 2) (PR #222086)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 13:49:08 PDT 2026


================
@@ -1016,7 +1016,7 @@ void SIFixSGPRCopies::analyzeVGPRToSGPRCopy(MachineInstr* MI) {
     } else if (Inst->getNumExplicitDefs() != 0) {
       Register Reg = Inst->getOperand(0).getReg();
       if (Reg.isVirtual() && TRI->isSGPRReg(*MRI, Reg) &&
-          !TII->isVALU(*Inst, /*AllowLDSDMA=*/true)) {
+          !TII->isVALU(*Inst, /*AllowLDSDMA=*/false)) {
----------------
arsenm wrote:

Changing this one doesn't make sense 

https://github.com/llvm/llvm-project/pull/222086


More information about the llvm-commits mailing list