================
@@ -1063,7 +1109,7 @@ void WaitcntBrackets::updateByEvent(WaitEventType E, 
MachineInstr &Inst) {
       setScoreByOperand(Op, T, CurrScore);
     }
     if (Inst.mayStore() &&
-        (TII->isDS(Inst) || TII->mayWriteLDSThroughDMA(Inst))) {
+        (TII->isDS(Inst) || (Context->isNonAsyncLdsDmaWrite(Inst)))) {
----------------
jayfoad wrote:

Nit: don't need the extra parentheses
```suggestion
        (TII->isDS(Inst) || Context->isNonAsyncLdsDmaWrite(Inst))) {
```

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

Reply via email to