HomePhabricator

[SLP]Better detection of perfect/shuffles matches for gather nodes.

Authored by ABataev on May 21 2021, 6:29 AM.

Description

[SLP]Better detection of perfect/shuffles matches for gather nodes.

Implemented better scheme for perfect/shuffled matches of the gather
nodes which allows to fix the performance regressions introduced by
earlier patches. Starting detecting matches for broadcast nodes and
extractelement gathering.

Differential Revision: https://reviews.llvm.org/D102920