This is an archive of the discontinued LLVM Phabricator instance.

[TOSA] Refactor TosaMakeBroadcastable pass
ClosedPublic

Authored by Tai78641 on May 10 2023, 11:15 AM.

Details

Summary

This refactors and exposes EqualizeRanks utility function
from within TosaMakeBroadcastable pass so it may be used to
reshape operator inputs to equal ranks.

Signed-off-by: Tai Ly <tai.ly@arm.com>
Change-Id: I5253fe1ce52a970ac678c7cc7e94874968bad2db

Diff Detail

Event Timeline

Tai78641 created this revision.May 10 2023, 11:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2023, 11:15 AM
Tai78641 requested review of this revision.May 10 2023, 11:15 AM
Tai78641 updated this revision to Diff 521509.May 11 2023, 5:25 PM

Renamed ReshapeInputIfNeeded to EqualizeRanks

Tai78641 edited the summary of this revision. (Show Details)May 11 2023, 5:28 PM
Tai78641 updated this revision to Diff 523231.May 17 2023, 6:05 PM
Tai78641 edited the summary of this revision. (Show Details)

resolve merge conflicts

eric-k256 accepted this revision.May 24 2023, 2:55 PM

Looks good to me.

This revision is now accepted and ready to land.May 24 2023, 2:55 PM
This revision was automatically updated to reflect the committed changes.