[llvm] [AMDGPU] Track LDS DMA VGPR source reads in expert scheduling (PR #203292)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 04:14:03 PDT 2026


================
@@ -2778,7 +2778,8 @@ bool SIInsertWaitcnts::generateWaitcntInstBefore(
   // waits on VA_VDST if the instruction it would precede is not a VALU
   // instruction, since hardware handles VALU->VGPR->VALU hazards in
   // expert scheduling mode.
-  if (TII.isVALU(MI))
+  // TODO: LDSDMA are marked as VALU but we need to treat them as vmem
----------------
Pierre-vh wrote:

Is there a good reason why they're treated as VALU?

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


More information about the llvm-commits mailing list