This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Tensor] Use the existing helper function `applyPermutationToVector` (NFC)
ClosedPublic

Authored by chelini on Nov 22 2022, 1:23 AM.

Details

Summary

Avoid duplicate code by using an existing helper function to interchange
a vector based on a permutation. Address comments emerged after landing
D138119.

Diff Detail

Event Timeline

chelini created this revision.Nov 22 2022, 1:23 AM
chelini requested review of this revision.Nov 22 2022, 1:23 AM
nicolasvasilache accepted this revision.Nov 22 2022, 1:24 AM
This revision is now accepted and ready to land.Nov 22 2022, 1:24 AM
This revision was landed with ongoing or failed builds.Nov 22 2022, 2:34 AM
This revision was automatically updated to reflect the committed changes.