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

Austin Kerbow via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 19 23:40:59 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,
----------------
kerbowa wrote:

Done, renamed, and not needed for correctness since the generic path gives 0.

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


More information about the llvm-branch-commits mailing list