HomePhabricator

DAGCombiner: Combine SDIV with non-splat vector pow2 divisor

Description

DAGCombiner: Combine SDIV with non-splat vector pow2 divisor

Summary:
Extend existing SDIV combine for pow2 constant divider to handle
non-splat vectors of pow2 constants.

Reviewers: RKSimon, craig.topper, spatel, hfinkel, efriedma

Reviewed By: RKSimon

Subscribers: magabari, llvm-commits

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

Details

Committed
zviApr 8 2018, 4:35 AM
Reviewer
RKSimon
Differential Revision
D42479: DAGCombiner: Combine SDIV with non-splat vector pow2 divisor
Parents
rL329524: [X86][Btver2] Add vector extract costs
Branches
Unknown
Tags
Unknown