Fold binary operators with a constant operand into select instructions
authorChris Lattner <sabre@nondot.org>
Fri, 9 Apr 2004 19:05:30 +0000 (19:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Apr 2004 19:05:30 +0000 (19:05 +0000)
commit2eefe518de5d5e23b32804b16782a92ea5fcf205
tree14601b36081c22f594605067c8321490ce6b8ca3
parent82e14fe16825f7f293be3251dcd92f7af47926f0
Fold binary operators with a constant operand into select instructions
that have a constant operand.  This implements
add.ll:test19, shift.ll:test15*, and others that are not tested

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