This is an archive of the discontinued LLVM Phabricator instance.

[Matrix] Refactor transpose distribution. NFC
ClosedPublic

Authored by thegameg on Jul 20 2022, 7:42 AM.

Details

Reviewers
fhahn
Summary

Use a function to distribute transposes. Preparation for future patches.

Diff Detail

Event Timeline

thegameg created this revision.Jul 20 2022, 7:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:42 AM
thegameg requested review of this revision.Jul 20 2022, 7:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2022, 7:42 AM
thegameg updated this revision to Diff 446156.Jul 20 2022, 7:54 AM
fhahn accepted this revision.Jul 27 2022, 8:29 AM

LGTM, thanks!

llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
388

nit: Should be /// for doc-comment?

Might be good to say this returns the transposed shape?

690

nit: /// for doc-comment

This revision is now accepted and ready to land.Jul 27 2022, 8:29 AM