Skip to content

Commit 79ef42a

Browse files
committed
Fix comment
1 parent fa056a8 commit 79ef42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Linalg/Utils/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ computeSliceParameters(OpBuilder &builder, Location loc, Value valueToTile,
618618
LLVM_DEBUG(llvm::dbgs() << "computeSliceParameters: for dim#" << r);
619619
auto m = map.getSubMap({r});
620620
// The offset & size computation below only handles the case when
621-
// the map is monotonic, i.e. the min and max values are attained at the
622-
// lower and upper bounds of the iteration domain.
621+
// the map is monotonically increasing, i.e. the min and max values are
622+
// attained at the lower and upper bounds of the iteration domain.
623623
if (!isTiled(m, tileSizes) || !m.isComponentWiseMonotonicallyIncreasing()) {
624624
sliceParams.offsets.push_back(builder.getIndexAttr(0));
625625
OpFoldResult dim = createFoldedDimOp(builder, loc, valueToTile, r);

0 commit comments

Comments
 (0)