HomePhabricator

[X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add faux shuffle support.

Authored by RKSimon on Sun, Sep 8, 2:38 PM.

Description

[X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add faux shuffle support.

This patch decodes target and faux shuffles with getTargetShuffleInputs - a reduced version of resolveTargetShuffleInputs that doesn't resolve SM_SentinelZero cases, so we can correctly remove zero vectors if they aren't demanded.

llvm-svn: 371353

Details

Committed
RKSimonSun, Sep 8, 2:38 PM
Parents
rG139a9d6c0e0d: [InstCombine][NFC] Some tests for usub overflow+nonzero check improvement…
Branches
Unknown
Tags
Unknown