This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Remove reduce(shuffle) if all the lanes are used
ClosedPublic

Authored by dmgreen on Feb 6 2023, 4:20 AM.

Details

Summary

This looks for vaddv(shuffle) or vmlav(shuffle, shuffle), with a shuffle where all the lanes are used once. Due to the reduction being commutative the shuffle can be removed.

Diff Detail

Event Timeline

dmgreen created this revision.Feb 6 2023, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 4:20 AM
dmgreen requested review of this revision.Feb 6 2023, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 4:20 AM
NickGuy accepted this revision.Feb 6 2023, 8:22 AM
This revision is now accepted and ready to land.Feb 6 2023, 8:22 AM
This revision was landed with ongoing or failed builds.Feb 7 2023, 2:44 AM
This revision was automatically updated to reflect the committed changes.