Add TransferWritePermutationLowering, which replaces permutation maps of TransferWriteOps with vector.transpose.
Depends On D102572
Paths
| Differential D102548
[mlir] Lower permutation maps on TransferWriteOps ClosedPublic Authored by springerm on May 15 2021, 2:37 AM.
Details Summary Add TransferWritePermutationLowering, which replaces permutation maps of TransferWriteOps with vector.transpose. Depends On D102572
Diff Detail
Event Timelinespringerm added a child revision: D102566: [mlir] Improve TransferOp verifier: broadcasts are in_bounds.May 15 2021, 10:16 PM springerm added a parent revision: D102572: [mlir] Fix in_bounds attr handling in TransferReadPermutationLowering. ThomasRaoux added inline comments.
This revision is now accepted and ready to land.May 16 2021, 10:19 PM Closed by commit rG7ddeffee5576: [mlir] Lower permutation maps on TransferWriteOps (authored by springerm). · Explain WhyMay 16 2021, 11:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 345757 mlir/lib/Dialect/Vector/VectorTransforms.cpp
mlir/test/Dialect/Vector/vector-transfer-lowering.mlir
|
use cast<> when you already know the type