[Mlir-commits] [mlir] [mlir][linalg/scf/transform] scalable tiling and fusion for pack/unpack ops (PR #204007)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Jun 25 05:00:56 PDT 2026


================
@@ -66,6 +66,57 @@ struct MergeResult {
   SmallVector<Value> replacements;
 };
 
+/// Per-dimension alignment of a loop tile size to a `linalg.pack` /
+/// `linalg.unpack` inner tile size, supplied by the caller (which performed the
+/// tiling and knows both the tile sizes and the inner tiles) so that
+/// pack/unpack TilingInterface implementations need not re-derive it from the
+/// materialized IR. An absent entry (or `Unknown`) means "no information": the
+/// implementation must fall back to its prior behavior for that dimension.
+///   - `Multiple`: the loop tile size is an integer multiple of the inner tile.
----------------
banach-space wrote:

[nit] To avoid any potential confusion: `Multiple`: the loop tile size is an integer multiple of the inner tile.` -> ``Multiple`: the loop tile size is an integer multiple of the pack/unpack inner tile.`

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


More information about the Mlir-commits mailing list