[Mlir-commits] [mlir] [mlir][Vector] Add `vector.to_elements` op (PR #141457)
Mehdi Amini
llvmlistbot at llvm.org
Fri May 30 13:36:59 PDT 2025
joker-eph wrote:
> We may end up with quite some dead values that couldn't be optimized away:
I don't quite see the issue actually? This is just a lowering problem: you don't emit a `extract_element` operation when converting to LLVM if the SSA value has no use.
> I also anticipate redundant vector.to_elements extracting from the same vector when the IR hasn't been CSE'ed. This would be a concern for memory consumption?
Shouldn't matter much, at least not compared to individual vector.extract that cannot be CSE'd!
https://github.com/llvm/llvm-project/pull/141457
More information about the Mlir-commits
mailing list