================
@@ -884,14 +903,25 @@ void WaitcntBrackets::updateByEvent(HWEvents E, 
MachineInstr &Inst) {
     Increment = 2;
   }
   unsigned CurrScore = UB + Increment;
-  if (CurrScore == 0)
+  if (CurrScore <= UB)
----------------
kerbowa wrote:

Done in #233708 

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

Reply via email to