1. Make more use of APInt::getHighBitsSet/getLowBitsSet.
authorZhou Sheng <zhousheng00@gmail.com>
Thu, 29 Mar 2007 08:15:12 +0000 (08:15 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Thu, 29 Mar 2007 08:15:12 +0000 (08:15 +0000)
commit290bec5c15ac7ed4536f5979e9f9562a3ab88f15
treed5740f767087cf45dfea5d77a071a412f3f12221
parentb0b6c76ffe71fc5d16a38b831ef0eddec02ddbe3
1. Make more use of APInt::getHighBitsSet/getLowBitsSet.
2. Let APInt variable do the binary operation stuff instead of using
   ConstantExpr::getXXX.

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