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

Han-Chung Wang llvmlistbot at llvm.org
Thu Jul 24 10:35:40 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> {
----------------
hanhanW wrote:

Good point, I also found it hard when I update the tests. Let me make it clearer!

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


More information about the Mlir-commits mailing list