We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f827e4d commit 64e3bcdCopy full SHA for 64e3bcd
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -922,6 +922,7 @@ bool WaitcntBrackets::hasPointSamplePendingVmemTypes(
922
923
void WaitcntBrackets::updateByEvent(WaitEventType E, MachineInstr &Inst) {
924
InstCounterType T = eventCounter(Context->WaitEventMaskForInst, E);
925
+ assert(T < Context->MaxCounter);
926
927
unsigned UB = getScoreUB(T);
928
unsigned CurrScore = UB + 1;
0 commit comments