[Mlir-commits] [mlir] [mlir][vector] Wrapping `populateFlattenVectorTransferPatterns` as a transform pass. (PR #178134)

Arun Thangamani llvmlistbot at llvm.org
Fri Jan 30 19:52:53 PST 2026


================
@@ -104,6 +104,13 @@ void populateSinkVectorProducerOpsPatterns(RewritePatternSet &patterns);
 // grouped with respect to odd/even packed index.
 void populateShuffleVectorFMAOpsPatterns(RewritePatternSet &patterns);
 
+// Rewrites contiguous row-major vector.transfer_read or vector.transfer_write
+// operations by inserting  a memref.collapse_shape on the source,
+// transforming the operation to use a 1D source.
+void populateFlattenVectorTransferOpsPatterns(
----------------
arun-thmn wrote:

Removed, as now the code is moved under `vector` dialect.

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


More information about the Mlir-commits mailing list