Add some simple folds that occur in bitfield cases. Fix a minor bug in
authorChris Lattner <sabre@nondot.org>
Sun, 7 Aug 2005 07:03:10 +0000 (07:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Aug 2005 07:03:10 +0000 (07:03 +0000)
commit2b83af2d0f3ab05f0d87a5b5110b2c572275da43
tree56057b6b1203d42e3ad2a4e3cdec40f7e053ff0f
parent4c0e4cdc40bbf94766242294fe386f4eb2d32d2e
Add some simple folds that occur in bitfield cases.  Fix a minor bug in
isHighOnes, where it would consider 0 to have high ones.

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