================
@@ -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))
----------------
arsenm wrote:

No, it's to only use auto if the type already appears, like in `dyn_cast<Type>`

https://github.com/llvm/llvm-project/pull/220442
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to