HomePhabricator

[X86][AVX] Ensure we only combine to PSHUFLW/PSHUFHW on supporting targets

Authored by RKSimon on Sat, Aug 1, 6:54 AM.

Description

[X86][AVX] Ensure we only combine to PSHUFLW/PSHUFHW on supporting targets

Noticed while investigating combining from concatenated shuffle vectors, we weren't checking that PSHUFLW/PSHUFHW was legal - we were depending on lowering splitting to subvectors.

Details

Committed
RKSimonSat, Aug 1, 11:18 AM
Parents
rGa9b06a2c14f9: [LCSSA] Use IRBuilder for PHI creation.
Branches
Unknown
Tags
Unknown