[llvm] [AMDGPU] Simplify S_WAIT_XCNT insertion. NFC. (PR #145682)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 04:59:55 PDT 2025


================
@@ -866,7 +860,6 @@ void WaitcntBrackets::setScoreByInterval(RegInterval Interval,
       VgprUB = std::max(VgprUB, RegNo);
       VgprScores[CntTy][RegNo] = Score;
     } else {
-      assert(isSmemCounter(CntTy));
----------------
jayfoad wrote:

Not needed because `getSgprScoresIdx` asserts anyway

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


More information about the llvm-commits mailing list