HomePhabricator

[X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle using…

Authored by RKSimon on Mon, Nov 4, 3:37 AM.

Description

[X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle using DemandedElts mask (REAPPLIED)

If we don't demand all elements, then attempt to combine to a simpler shuffle.

At the moment we can only do this if Depth == 0 as combineX86ShufflesRecursively uses Depth to track whether the shuffle has really changed or not - we'll need to change this before we can properly start merging combineX86ShufflesRecursively into SimplifyDemandedVectorElts (see D66004).

This reapplies rL368307 (reverted at rL369167) after the fix for the infinite loop reported at PR43024 was applied at rG3f087e38a2e7b87a5adaaac1c1b61e51220e7ff3

Details

Committed
RKSimonMon, Nov 4, 3:37 AM
Parents
rG3169f0129a68: [FIX] Removed duplicated v4f16 and v8f16 declarations
Branches
Unknown
Tags
Unknown