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 20a24fc commit 6cead0bCopy full SHA for 6cead0b
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -1902,11 +1902,8 @@ LogicalResult AffineForOp::verifyRegions() {
1902
if (failed(verifyDimAndSymbolIdentifiers(*this, getUpperBoundOperands(),
1903
getUpperBoundMap().getNumDims())))
1904
return failure();
1905
- // Verify that the bound maps produce at least one result.
1906
- /// Lower bound.
1907
if (getLowerBoundMap().getNumResults() < 1)
1908
return emitOpError("expected lower bound map to have at least one result");
1909
- /// Upper bound.
1910
if (getUpperBoundMap().getNumResults() < 1)
1911
return emitOpError("expected upper bound map to have at least one result");
1912
0 commit comments