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 2755c69 commit 20ecb06Copy full SHA for 20ecb06
llvm/lib/CodeGen/TargetSchedule.cpp
@@ -129,7 +129,8 @@ resolveSchedClass(const MachineInstr *MI) const {
129
unsigned NIter = 0;
130
#endif
131
while (SCDesc->isVariant()) {
132
- assert(++NIter < 6 && "Variants are nested deeper than the magic number");
+ ++NIter;
133
+ assert(NIter < 6 && "Variants are nested deeper than the magic number");
134
135
SchedClass = STI->resolveSchedClass(SchedClass, MI, this);
136
SCDesc = SchedModel.getSchedClassDesc(SchedClass);
0 commit comments