[Mlir-commits] [mlir] [mlir] Move vector.{to_elements, from_elements} unrolling to `VectorUnroll.cpp` (PR #159118)

Diego Caballero llvmlistbot at llvm.org
Wed Sep 17 12:05:16 PDT 2025


================
@@ -809,6 +810,38 @@ struct UnrollBroadcastPattern : public OpRewritePattern<vector::BroadcastOp> {
   vector::UnrollVectorOptions options;
 };
 
+struct UnrollToElements final : public OpRewritePattern<vector::ToElementsOp> {
----------------
dcaballe wrote:

Add some doc with a before and after IR example, similar to what you did for `UnrollFromElements`?

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


More information about the Mlir-commits mailing list