[llvm-branch-commits] [mlir] [mlir][linalg] Enable scalable vectorization of linalg.unpack (PR #149293)

Andrzej Warzyński via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 25 03:50:41 PDT 2025


================
@@ -1173,7 +1252,7 @@ module attributes {transform.with_named_sequence} {
 
 func.func @test_vectorize_padded_pack(%arg0: tensor<32x7x15xf32>, %arg1: tensor<32x4x1x16x2xf32>) -> tensor<32x4x1x16x2xf32> {
   %pad = arith.constant 0.000000e+00 : f32
-  %pack = linalg.pack %arg0 padding_value(%pad : f32) inner_dims_pos = [2, 1] inner_tiles = [16, 2] into %arg1 : tensor<32x7x15xf32> -> tensor<32x4x1x16x2xf32>
+  %pack = linalg.pack %arg0 padding_value(%pad : f32) inner_dims_pos = [2, 1] inner_tiles = [16, [2]] into %arg1 : tensor<32x7x15xf32> -> tensor<32x4x1x16x2xf32>
----------------
banach-space wrote:

We actually don't, thanks for noticing 😅 🙏🏻 

It's sad that the test passes nonetheless :( Anyway, reverted in [this commit](https://github.com/llvm/llvm-project/pull/149293/commits/0a09007080ba009348794c2c5d3f4a6795995118).

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


More information about the llvm-branch-commits mailing list