This commit adds support for dimension permutations in permutation maps of vector transfer ops.
Depends On D100946
Paths
| Differential D101007
[mlir] Support dimension permutations in ProgressiveVectorToSCF ClosedPublic Authored by springerm on Apr 21 2021, 6:39 PM.
Details Summary This commit adds support for dimension permutations in permutation maps of vector transfer ops. Depends On D100946
Diff Detail
Event Timelinespringerm added a child revision: D101013: [mlir] Use SCF for loops in ProgressiveVectorToSCF.Apr 21 2021, 7:33 PM Comment Actions Looks good, note that there is also a pass that rewrites the transfer into memref.transpose and identity permutation map. Would be good to start thinking (in the background) about a mechanism where we can more easily expose the decision of either:
We will be interested in the interaction of the above with vector.shape_cast and vector.reshape as well as masking. This revision is now accepted and ready to land.Apr 22 2021, 11:44 PM This revision was landed with ongoing or failed builds.Apr 23 2021, 1:47 AM Closed by commit rGab154176bfc7: [mlir] Support dimension permutations in ProgressiveVectorToSCF (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 339938 mlir/lib/Conversion/VectorToSCF/ProgressiveVectorToSCF.cpp
mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
|