[Mlir-commits] [mlir] [MLIR][Linalg] Fix empty tensor assumptions for linalg.pack decomposition (PR #160246)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Oct 6 02:38:19 PDT 2025


================
@@ -57,7 +57,8 @@ class Linalg_RelayoutOp<string mnemonic, list<Trait> traits = []> :
     /// tile factors.
     DenseMap<int64_t, OpFoldResult> getDimAndTileMapping();
 
-    /// Return the tile sizes as OpFoldResult.
+    /// Return the tile sizes as OpFoldResult. Will return the Value
+    /// of the constant Op, not the constant Attribute.
----------------
banach-space wrote:

It's about time to fix it - could you add a TODO? Thanks!

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


More information about the Mlir-commits mailing list