HomePhabricator

[X86][AVX] Start shuffle combining from ZERO_EXTEND_VECTOR_INREG (PR40685)

Authored by RKSimon on Mar 24 2019, 9:30 AM.

Description

[X86][AVX] Start shuffle combining from ZERO_EXTEND_VECTOR_INREG (PR40685)

Just enable this for AVX for now as SSE41 introduces extra register moves for the PMOVZX(PSHUFD(V)) -> UNPCKH(V,0) pattern (but otherwise helps reduce port5 usage on Intel targets).

Only AVX support is required for PR40685 as the issue is due to 8i8->8i32 zext shuffle leftovers.

llvm-svn: 356858

Details

Committed
RKSimonMar 24 2019, 9:30 AM
Parents
rG4dc851964c03: [CGP] Make several static functions member functions (NFC)
Branches
Unknown
Tags
Unknown