HomePhabricator

[X86][AVX] getTargetShuffleMask - don't decode VBROADCAST(EXTRACT_SUBVECTOR(X…

Authored by RKSimon on Tue, Jul 21, 1:50 PM.

Description

[X86][AVX] getTargetShuffleMask - don't decode VBROADCAST(EXTRACT_SUBVECTOR(X,0)) patterns.

getTargetShuffleMask is used by the various "SimplifyDemanded" folds so we can't assume that the bypassed extract_subvector can be safely simplified - getFauxShuffleMask performs a more general decode that allows us to more safely catch many of these cases so the impact is minimal.

Details

Committed
RKSimonTue, Jul 21, 1:55 PM
Parents
rG9e783716a224: [llvm-libtool-darwin] Allow flattening archives
Branches
Unknown
Tags
Unknown