HomePhabricator

[SLP]Allow to reorder nodes with >2 scalar values.

Authored by ABataev on May 27 2021, 6:19 AM.

Description

[SLP]Allow to reorder nodes with >2 scalar values.

tryToVectorizeList function allows to reorder only 2 scalars. Patch
allows to reorder >2 scalars. Also, to avoid possible regressions, it
allows extra vectorization of the remaining parts of the scalars
elements if possible.

Part of D57059.

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

Details

Committed
ABataevJun 3 2021, 10:01 AM
Differential Revision
D103247: [SLP]Allow to reorder nodes with >2 scalar values.
Parents
rG20be54cb1f1d: [Tests] Add missing include (NFC)
Branches
Unknown
Tags
Unknown