[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


================
@@ -96,3 +96,47 @@ func.func @transpose(%arg0 : vector<2x3xi32>) -> (vector<3x2xi32>) {
   %0 = vector.transpose %arg0, [1, 0] : vector<2x3xi32> to vector<3x2xi32>
   return %0 : vector<3x2xi32>
 }
+
----------------
dcaballe wrote:

I'm not sure if we need specific vector unrolling test for SPIR-V but we should add independent test to `test/Dialect/Vector/...`. I think we have `vector-unroll-options.mlir` for unrolling.

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


More information about the Mlir-commits mailing list