This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

springerm created this revision.Apr 21 2021, 6:39 PM
springerm requested review of this revision.Apr 21 2021, 6:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2021, 6:39 PM
springerm updated this revision to Diff 339448.Apr 21 2021, 7:33 PM

(no change)

(no change)

(no change)

springerm updated this revision to Diff 339870.Apr 22 2021, 9:32 PM

(no change)

(no change)

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:

  1. what you do here.
  2. what I mention above.
  3. lowering to vector.transpose

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
springerm updated this revision to Diff 339930.Apr 23 2021, 1:22 AM

(new export)

This revision was landed with ongoing or failed builds.Apr 23 2021, 1:47 AM
This revision was automatically updated to reflect the committed changes.