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 875b652 commit 50f4168Copy full SHA for 50f4168
llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
@@ -320,7 +320,7 @@ bool GIMatchTableExecutor::executeMatchTable(
320
<< "], Expected=" << Expected << ")\n");
321
assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
322
const unsigned NumOps = State.MIs[InsnID]->getNumOperands();
323
- if (IsLE ? (NumOps <= Expected) : (NumOps >= Expected)) {
+ if (IsLE ? (NumOps > Expected) : (NumOps < Expected)) {
324
if (handleReject() == RejectAndGiveUp)
325
return false;
326
}
0 commit comments