HomePhabricator

[SelectionDAG] Add initial implementation of TargetLowering…

Authored by RKSimon on Feb 15 2018, 4:14 AM.

Description

[SelectionDAG] Add initial implementation of TargetLowering::SimplifyDemandedVectorElts

This is mainly a move of simplifyShuffleOperands from DAGCombiner::visitVECTOR_SHUFFLE to create a more general purpose TargetLowering::SimplifyDemandedVectorElts implementation.

Further features can be moved/added in future patches.

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

llvm-svn: 325232

Details

Committed
RKSimonFeb 15 2018, 4:14 AM
Differential Revision
D42896: [SelectionDAG] Add initial implementation of TargetLowering::SimplifyDemandedVectorElts
Parents
rG9430c8cd1c6f: [ARM] f16 vcmp fixes
Branches
Unknown
Tags
Unknown