1. Make more use of getLowBitsSet/getHighBitsSet.
authorZhou Sheng <zhousheng00@gmail.com>
Wed, 28 Mar 2007 09:19:01 +0000 (09:19 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Wed, 28 Mar 2007 09:19:01 +0000 (09:19 +0000)
commite82fca09bffc73310499bdcfbdea87a095420e09
tree68fe4e86e13d894e98938df4ae4bb20e6138b4fe
parent197d19d11c949743c29d3996e391ba0caeae040d
1. Make more use of getLowBitsSet/getHighBitsSet.
2. Make the APInt value do the zext/trunc stuff instead of using
   ConstantExpr::getZExt().

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