================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to