[Mlir-commits] [mlir] [MLIR][Vector] Add unroll pattern for vector.shape_cast (PR #164010)

Jakub Kuderski llvmlistbot at llvm.org
Wed Oct 22 07:20:15 PDT 2025


================
@@ -75,6 +75,49 @@ static SmallVector<Value> sliceLoadStoreIndices(PatternRewriter &rewriter,
   return indices;
 }
 
+/// Creates a result tile by extracting individual elements from the source
+/// and inserting them at the correct positions in the tile.
+static Value createTileFromElements(PatternRewriter &rewriter, Location loc,
----------------
kuhar wrote:

I'd move it just before your pattern definition

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


More information about the Mlir-commits mailing list