[llvm] [AMDGPU] Fix simplification of VM_VSRC based on VMEM waits (PR #178711)

Ryan Mitchell via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 08:53:12 PDT 2026


================
@@ -1295,12 +1297,27 @@ void WaitcntBrackets::simplifyVmVsrc(const AMDGPU::Waitcnt &CheckWait,
   // Waiting for some counters implies waiting for VM_VSRC, since an
   // instruction that decrements a counter on completion would have
   // decremented VM_VSRC once its VGPR operands had been read.
----------------
RyanRio wrote:

Can you update the comment to describe the new approach/maybe mention the nuance here?

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


More information about the llvm-commits mailing list