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 7b15865 commit 0b64400Copy full SHA for 0b64400
llvm/lib/CodeGen/RegisterClassInfo.cpp
@@ -186,6 +186,7 @@ unsigned RegisterClassInfo::computePSetLimit(unsigned Idx) const {
186
NumRCUnits = NUnits;
187
}
188
189
+ assert(RC && "Failed to find register class");
190
compute(RC);
191
unsigned NReserved = RC->getNumRegs() - getNumAllocatableRegs(RC);
192
return TRI->getRegPressureSetLimit(*MF, Idx) -
0 commit comments