This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Do not count perfect diamond matches for gathers several times.
ClosedPublic

Authored by ABataev on May 6 2021, 1:47 PM.

Details

Summary

Need to remove the old code for avoiding double counting of the gather
nodes with perfect diamond matches within the tree after we started
detecting perfect/shuffled matching in one of the previous patches. We
may skip the cost for such nodes completely.

Diff Detail

Event Timeline

ABataev created this revision.May 6 2021, 1:47 PM
ABataev requested review of this revision.May 6 2021, 1:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2021, 1:47 PM

Please add reference to summary to previous patch related to this one: https://reviews.llvm.org/D100495. Other looks good.

RKSimon accepted this revision.May 8 2021, 3:15 AM

LGTM

Please add reference to summary to previous patch related to this one: https://reviews.llvm.org/D100495. Other looks good.

+1

This revision is now accepted and ready to land.May 8 2021, 3:15 AM