[Mlir-commits] [mlir] [mlir][linalg] Vectorize unpack op without masking (PR #89067)

Han-Chung Wang llvmlistbot at llvm.org
Wed May 1 09:55:55 PDT 2024


================

----------------
hanhanW wrote:

I was thinking the same thing, but it is doable in the current tests. They are hidden because they are all false. So maybe @pashu123 can add a test similar to below, then we can test it.


```
// the output is 64x127, not 63x127. The inbounds would be (true, false), and they should present in the IR.
%0 = tensor.unpack %source outer_dims_perm = [1, 0] inner_dims_pos = [0, 1] inner_tiles = [16, 16] into %dest : tensor<8x4x16x16xf32> -> tensor<64x127xf32>
```

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


More information about the Mlir-commits mailing list