[llvm-branch-commits] [llvm] [NFC][AMDGPU][InsertWaitCnts] Move some simple functions into Utils (PR #202936)

Pierre van Houtryve via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 12 05:04:16 PDT 2026


================
@@ -701,7 +666,7 @@ class WaitcntBrackets {
 
   unsigned getPendingGDSWait() const {
     return std::min(getScoreUB(AMDGPU::DS_CNT) - LastGDS,
-                    getWaitCountMax(Context->getLimits(), AMDGPU::DS_CNT) - 1);
+                    Context->getLimits().get(AMDGPU::DS_CNT) - 1);
----------------
Pierre-vh wrote:

done

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


More information about the llvm-branch-commits mailing list