Skip to content

Commit e607c87

Browse files
committed
Better documentation
1 parent 390a8e6 commit e607c87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ struct TileCheck : public AffineExprVisitor<TileCheck> {
6262
void visitDimExpr(AffineDimExpr expr) {
6363
unsigned pos = expr.getPosition();
6464

65-
// There is no tile if all tile sizes correspond to the domain size
65+
// This dimension is tiled if the tile size is larger than zero and not
66+
// equal to its domain size (if statically known).
6667
std::optional<int64_t> tileSize = getConstantIntValue(tileSizes[pos]);
6768
if (tileSize && !domainSizes.empty()) {
6869
if (domainSizes[pos] == *tileSize) {

0 commit comments

Comments
 (0)