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 80fce05 commit cce026bCopy full SHA for cce026b
mlir/test/lib/Dialect/Test/TestDialect.cpp
@@ -594,7 +594,7 @@ LogicalResult CompareOp::verify() {
594
"'compose' not supported when 'lhs_map' or 'rhs_map' is present");
595
int64_t expectedNumOperands = getLhsMap() ? getLhsMap()->getNumInputs() : 1;
596
expectedNumOperands += getRhsMap() ? getRhsMap()->getNumInputs() : 1;
597
- if (getVarOperands().size() != expectedNumOperands)
+ if (getVarOperands().size() != size_t(expectedNumOperands))
598
return emitOpError("expected ")
599
<< expectedNumOperands << " operands, but got "
600
<< getVarOperands().size();
0 commit comments