[clang] [llvm] [AMDGPU] Implement AsyncMark Stages (PR #220442)

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 22:53:45 PDT 2026


================
@@ -1096,9 +1133,8 @@ void WaitcntBrackets::updateByEvent(HWEvents E, MachineInstr &Inst) {
         setVMemScore(LDSDMA_BEGIN + Slot, T, CurrScore);
     }
 
-    if (Context->shouldUpdateAsyncMark(Inst, T)) {
-      AsyncScore[T] = CurrScore;
-    }
+    if (auto Stage = Context->getAsyncStageToUpdate(Inst, T))
----------------
ssahasra wrote:

I think the recommended style is to say "auto *" if the type is known to be a pointer.

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


More information about the llvm-commits mailing list