llvm-project
7bdd88c1 - [mlir][Vector] Add patterns to lower `vector.shuffle` (#157611)

Commit
5 days ago
[mlir][Vector] Add patterns to lower `vector.shuffle` (#157611) This PR adds patterns to lower `vector.shuffle` with inputs with different vector sizes more efficiently. The current LLVM lowering for these cases degenerates to a sequence of `vector.extract` and `vector.insert` operations. With this PR, the smaller input is promoted to larger vector size by introducing an extra `vector.shuffle`.
Author
Parents
Loading