This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Improve calculations of the cost for reused/reordered scalars.

Authored by ABataev on Jul 15 2021, 5:36 AM.



Part of D105020. Also, fixed FIXMEs that need to use wider vector type
when trying to calculate the cost of reused scalars. This may cause
regressions unless D100486 is landed to improve the cost estimations
for long vectors shuffling.

Diff Detail

Event Timeline

ABataev created this revision.Jul 15 2021, 5:36 AM
ABataev requested review of this revision.Jul 15 2021, 5:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2021, 5:36 AM
RKSimon accepted this revision.Jul 15 2021, 5:45 AM

LGTM - cheers

This revision is now accepted and ready to land.Jul 15 2021, 5:45 AM
This revision was landed with ongoing or failed builds.Jul 16 2021, 1:42 PM
This revision was automatically updated to reflect the committed changes.