[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
Mon Jun 15 06:16:07 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:

?

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


More information about the llvm-commits mailing list