================
@@ -1878,7 +1813,7 @@ bool WaitcntGeneratorPreGFX12::createNewWaitcnt(
continue;
unsigned Outstanding = std::min(ScoreBrackets.getOutstanding(CT),
- getWaitCountMax(getLimits(), CT) -
1);
+ getLimits().get(CT) - 1);
----------------
ssahasra wrote:
Eliminate this repetition too, with a `getLimit(blah)`?
https://github.com/llvm/llvm-project/pull/202936
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits