This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Add extra lowering for more transfer_write maps
ClosedPublic

Authored by ThomasRaoux on Jan 15 2023, 9:14 PM.

Details

Summary

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

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jan 15 2023, 9:14 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Jan 15 2023, 9:14 PM
Herald added a project: Restricted Project. · View Herald Transcript

Nice! Thanks for making this composable.

mlir/lib/Dialect/Vector/Transforms/VectorTransferPermutationMapRewritePatterns.cpp
214

Doc comments for l 201 - 217

232

can we extract code out of this pattern into properly named helpers that have a clear behavior?

Address review comments

address review comments

ThomasRaoux marked 2 inline comments as done.Jan 16 2023, 8:19 PM
This revision is now accepted and ready to land.Jan 17 2023, 12:07 AM