[Mlir-commits] [mlir] [mlir][linalg] Allow pack consumer fusion if the tile size is greater than dimension size. (PR #149438)

Adam Siemieniuk llvmlistbot at llvm.org
Fri Jul 18 09:50:09 PDT 2025


================
@@ -904,14 +904,16 @@ struct PackOpTiling
 
         // If a dimension is not tiled, it is always valid to fuse the pack op,
         // even if the op has padding semantics. Because it always generates a
-        // full slice along the dimension.
+        // full slice along the dimension. The tile sizes are for unpacked
+        // domain, i.e., `srcDimSize`, so `tileSize < srcDimSize` means no
+        // tiling at all.
----------------
adam-smnk wrote:

Doesn't `tileSize < srcDimSize` mean it IS tiled?

https://github.com/llvm/llvm-project/pull/149438


More information about the Mlir-commits mailing list