Some cleanup from review:
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 19:55:33 +0000 (19:55 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 19:55:33 +0000 (19:55 +0000)
commit2149a9dfec7df41c6f9a2a221fe7751a2f8c1ada
tree583996de97e756e66d6a5d2a7cbf2ac03a3c5c8a
parent3a84b9baf67c938454840d10d9e53269c755cd3e
Some cleanup from review:
* Don't assume shift amounts are <= 64 bits
* Avoid creating an extra APInt in SubOne and AddOne by using -- and ++
* Add another use of getLowBitsSet
* Convert a series of if statements to a switch

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