HomePhabricator

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

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.

Details

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