[llvm] [AMDGPU] Model ordered XDL writes in expert scheduling (PR #218326)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 13:48:53 PDT 2026


================
@@ -670,8 +675,12 @@ class WaitcntBrackets {
 
   using CounterValueArray = std::array<unsigned, AMDGPU::NUM_INST_CNTS>;
 
+  std::optional<unsigned> getWaitForScore(AMDGPU::InstCounterType T,
+                                          unsigned Score) const;
   void determineWaitForScore(AMDGPU::InstCounterType T, unsigned Score,
                              AMDGPU::Waitcnt &Wait) const;
+  void determineWaitForVGPRScore(AMDGPU::InstCounterType T, VMEMID ID,
----------------
vporpo wrote:

+1
Also shouldn't this be named determineWaitForVA_VDST ? and drop the T argument ?

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


More information about the llvm-commits mailing list