HomePhabricator

[X86][AVX] Merge mask select with shuffles across extract_subvector (PR40332)

Authored by RKSimon on Apr 27 2019, 6:35 AM.

Description

[X86][AVX] Merge mask select with shuffles across extract_subvector (PR40332)

Fixes PR40332 in the limited case where we're selecting between a target shuffle and a zero vector.

We can extend this in the future to handle more opcodes and non-zero selections.

llvm-svn: 359378

Details

Committed
RKSimonApr 27 2019, 6:35 AM
Parents
rGd77dc9ada206: [MCA] Add field `IsEliminated` to class Instruction. NFCI
Branches
Unknown
Tags
Unknown