[DAGCombiner] Extending pattern detection for vector shuffle (REAPPLIED)

Description

[DAGCombiner] Extending pattern detection for vector shuffle (REAPPLIED)

If all the operands of a BUILD_VECTOR extract elements from same vector then split the vector efficiently based on the maximum vector access index.

Reapplied with fix to only work with simple value types.

Committed on behalf of @jbhateja (Jatin Bhateja)

Differential Revision: https://reviews.llvm.org/D35788

Details

Committed
RKSimonSat, Aug 12, 10:43 AM
Differential Revision
D35788: [DAGCombiner] Extending pattern detection for vector shuffle.
Parents
rL310781: [Triple] Add isThumb and isARM functions.
Branches
Unknown
Tags
Unknown