[mlir][vector] Add extra lowering for more transfer_write maps
authorThomas Raoux <thomasraoux@google.com>
Tue, 17 Jan 2023 17:05:11 +0000 (17:05 +0000)
committerThomas Raoux <thomasraoux@google.com>
Tue, 17 Jan 2023 17:06:00 +0000 (17:06 +0000)
commit435905ecf25ab9da0753931358414164352810f5
tree0b9a528949878f35d8d6c89a0b8db1fa8dda0c8a
parent2af1dc7071ff9a49552160ab03e1422a5daa830e
[mlir][vector] Add extra lowering for more transfer_write maps

Add pattern to lower transfer_write with permutation map that are not
permutation of minor identity map.

Differential Revision: https://reviews.llvm.org/D141815
mlir/lib/Dialect/Vector/Transforms/VectorTransferPermutationMapRewritePatterns.cpp
mlir/test/Conversion/VectorToSCF/vector-to-scf.mlir
mlir/test/Dialect/Vector/vector-transfer-to-vector-load-store.mlir