[Mlir-commits] [mlir] [mlir][Vector] Add `vector.to_elements` op (PR #141457)
Mehdi Amini
llvmlistbot at llvm.org
Fri May 30 04:59:08 PDT 2025
joker-eph wrote:
I feel that from/to_elements are nicely taking advantage of MLIR flexibility on variadic operands/results, what I'm wondering is why do we need to keep `vector.extract` at all?
I would think that `vector.to_elements` would be optimal in all cases? From a canonicalization point of view, having a single op to model this seems very valuable.
https://github.com/llvm/llvm-project/pull/141457
More information about the Mlir-commits
mailing list