Generalize the FoldOrWithConstant method to fold for any two constants which
authorBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 08:32:40 +0000 (08:32 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 08:32:40 +0000 (08:32 +0000)
commitd54d86038d1486e29969385a2cbd4fce1cd97202
treede5ef9a1597c1182fb054aa083f3aaf0b495caff
parenta698a472f2fcfb010e17c206b06fe032defe01b6
Generalize the FoldOrWithConstant method to fold for any two constants which
don't have overlapping bits.

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