Teach ShrinkDemandedConstant how to handle X+C. This implements:
authorChris Lattner <sabre@nondot.org>
Thu, 9 Nov 2006 05:12:27 +0000 (05:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Nov 2006 05:12:27 +0000 (05:12 +0000)
commitb4a2f059ada6db9dea7046e9228bb350c742b1d8
tree04f4bd88c12fae9a618682c8e5f049c916b00a51
parent12afb70894e5566491fb5dff79e2d657c90948ef
Teach ShrinkDemandedConstant how to handle X+C.  This implements:
add.ll:test33, add.ll:test34, shift-sra.ll:test2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31586 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp