This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Do not create unused gather nodes for scalar arguments of vector intrinsics.
ClosedPublic

Authored by ABataev on Nov 12 2021, 1:51 PM.

Details

Summary

If the vector intrinsic has scalar argument, we currently still create
a tree entry for this argument. This entry is not used, just consumes
resources and increases the cost of the tree.

Diff Detail

Event Timeline

ABataev created this revision.Nov 12 2021, 1:51 PM
ABataev requested review of this revision.Nov 12 2021, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2021, 1:51 PM
RKSimon accepted this revision.Nov 13 2021, 3:14 AM

LGTM

This revision is now accepted and ready to land.Nov 13 2021, 3:14 AM