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 390a8e6 commit e607c87Copy full SHA for e607c87
mlir/lib/Dialect/Linalg/Utils/Utils.cpp
@@ -62,7 +62,8 @@ struct TileCheck : public AffineExprVisitor<TileCheck> {
62
void visitDimExpr(AffineDimExpr expr) {
63
unsigned pos = expr.getPosition();
64
65
- // There is no tile if all tile sizes correspond to the domain size
+ // This dimension is tiled if the tile size is larger than zero and not
66
+ // equal to its domain size (if statically known).
67
std::optional<int64_t> tileSize = getConstantIntValue(tileSizes[pos]);
68
if (tileSize && !domainSizes.empty()) {
69
if (domainSizes[pos] == *tileSize) {
0 commit comments