[llvm] [AMDGPU] Relax lds dma waitcnt with no aliasing pair (PR #131842)

Austin Kerbow via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 21 20:49:30 PDT 2025


================
@@ -1748,7 +1753,7 @@ bool SIInsertWaitcnts::generateWaitcntInstBefore(MachineInstr &MI,
             }
           }
         }
-        if (!FoundAliasingStore)
+        if (!FoundAliasingStore && !RelaxLDSDMA)
----------------
kerbowa wrote:

After including this check, I am just enabling this relaxation by default instead of as a cl option.

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


More information about the llvm-commits mailing list