[Mlir-commits] [mlir] [mlir][linalg] Take artificial padding into account for pack/unpack folding. (PR #150272)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Jul 23 11:48:54 PDT 2025


================
@@ -81,10 +91,10 @@ func.func @pad_pack(%src: tensor<16641x16xf32>) -> tensor<2082x1x8x32xf32> {
 
 // -----
 
-func.func @nofold_pad_pack(%src: tensor<16641x16xf32>) -> tensor<2082x1x8x32xf32> {
+func.func @nofold_pad_pack_artificial_padding(%src: tensor<16641x16xf32>) -> tensor<2082x1x8x32xf32> {
----------------
banach-space wrote:

I guess this will fail verification once `linalg.pack` disallows "artificial" padding?

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


More information about the Mlir-commits mailing list