HomePhabricator

[InstCombine] Support pulling left shifts through a subtract with constant LHS

Description

[InstCombine] Support pulling left shifts through a subtract with constant LHS

We already support pulling through an add with constant RHS. We can do the same for subtract.

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

Details

Committed
ctopperAug 8 2017, 1:14 PM
Differential Revision
D36443: [InstCombine] Support pulling left shifts through a subtract with constant LHS
Parents
rL310406: [coverage] Special-case calls to noreturn functions.
Branches
Unknown
Tags
Unknown