[Mlir-commits] [mlir] [mlir][linalg] Allow pack consumer fusion if the tile size is greater than dimension size. (PR #149438)
Han-Chung Wang
llvmlistbot at llvm.org
Fri Jul 18 09:57:23 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.
----------------
hanhanW wrote:
Yes, you are right. Sorry about that..and good catch, thanks!
https://github.com/llvm/llvm-project/pull/149438
More information about the Mlir-commits
mailing list