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

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 12 07:08:58 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
----------------
jayfoad wrote:

> I am saying that in a program with a single backedge, the ~iteration~ algorithm needs only one iteration.

You _might_ be correct but it is very far from obvious to me.

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


More information about the llvm-commits mailing list