This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Try to vectorize tiny trees with shuffled gathers.
ClosedPublic

Authored by ABataev on Apr 27 2021, 1:42 PM.

Details

Summary

If the first tree element is vectorize and the second is gather, it
still might be profitable to vectorize it if the gather node contains
less scalars to vectorize than the original tree node. It might be
profitable to use shuffles.

Diff Detail

Unit TestsFailed

Event Timeline

ABataev created this revision.Apr 27 2021, 1:42 PM
ABataev requested review of this revision.Apr 27 2021, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2021, 1:42 PM
This revision is now accepted and ready to land.Apr 28 2021, 2:01 AM
This revision was landed with ongoing or failed builds.Apr 28 2021, 6:43 AM
This revision was automatically updated to reflect the committed changes.