HomePhabricator

[SLP]Try to vectorize tiny trees with shuffled gathers of extractelements.

Authored by ABataev on Apr 28 2021, 7:27 AM.

Description

[SLP]Try to vectorize tiny trees with shuffled gathers of extractelements.

If we gather extract elements and they actually are just shuffles, it
might be profitable to vectorize them even if the tree is tiny.

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

Details