[Mlir-commits] [mlir] [mlir][vector] Add vector.to_elements unrolling (PR #157142)
James Newling
llvmlistbot at llvm.org
Wed Sep 10 11:31:12 PDT 2025
================
----------------
newling wrote:
My preference would be to keep the file name here with 'lowering' in it. In my mind, it is just an implementation decision that lowering is implemented with unrolling and not something else here (linearizing).
What is potentially confusing (certainly tripped me up!) is that there is unrolling implemented for all ops [here](https://github.com/llvm/llvm-project/blob/main/mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp) that unrolls with insert_strided_slice and extract_strided_slice (and preserves ranks). And then there is alot of unrolling with vector.extract and vector.insert that happens in the LowerVector*cpp files.
https://github.com/llvm/llvm-project/pull/157142
More information about the Mlir-commits
mailing list