HomePhabricator

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

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

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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.

(cherry picked from commit 5b5dc2442ac7a574a3b7d17c15ebeeb9eb3bec26)

Details

Committed
hansJul 23 2020, 6:19 AM
Parents
rGeb3c5db40a14: [InstCombine] Fix store merge worklist management (PR46680)
Branches
Unknown
Tags
Unknown