[llvm] [AMDGPU][NFC] Minor source cleanups in SIInsertWaitcnts (PR #181095)

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 12 06:52:52 PST 2026


================
@@ -1002,6 +1002,15 @@ class WaitcntBrackets {
 
   // State of all counters at each async mark encountered so far.
   SmallVector<CounterValueArray> AsyncMarks;
+
+  // For each backedge in isolation, the algorithm reachs a fixed point after
+  // the first call to merge(). This is unchanged even with the AsyncMarks
----------------
ssahasra wrote:

I am saying that in a program with a single backedge, the iteration needs only one iteration. And further saying that the addition of AsyncMarks does not change this because it uses the same merge.

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


More information about the llvm-commits mailing list