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

Adam Siemieniuk llvmlistbot at llvm.org
Wed Jan 28 02:15:17 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(
----------------
adam-smnk wrote:

Is it needed for anything?

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


More information about the Mlir-commits mailing list