[Mlir-commits] [mlir] [mlir][Vector] Add `vector.shuffle` tree transformation (PR #145740)

Diego Caballero llvmlistbot at llvm.org
Wed Jul 2 10:00:01 PDT 2025


dcaballe wrote:

> Given the complexity of this logic, would it make sense to extend it to more generic cases?

Actually, just after sending the update I realized that inputs with mixed vector sizes are supported because `vector.shuffle`, unlike the llvm counterpart, supports vector inputs with different sizes... I think they are poorly lowered to LLVM (I think using insert/extract ops) but from the PoV of this transformation it would be as simple as removing the bail out check to have them working :) 

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


More information about the Mlir-commits mailing list