commit | 2fe6bd41fe577aa3536617289fa2df33fdadf31d | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Aug 08 20:14:11 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Aug 08 20:14:11 2017 +0000 |
tree | 1b6d9502deabba40290b9ab2ede43ab371c66323 | |
parent | ca52e101f76eb1c51060efbeac52c167091bbee7 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310407 91177308-0d34-0410-b5e6-96231b3b80d8