Don't invoke undefined behavior in shifts in the functions getHighBitsSet
authorReid Spencer <rspencer@reidspencer.com>
Sat, 24 Mar 2007 23:35:54 +0000 (23:35 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 24 Mar 2007 23:35:54 +0000 (23:35 +0000)
commitca76fc2cd3b97e4821e7d8247bc03bbbd2789ad9
tree663bb4c09cde4e55ef16e8bd89f9cde1f5ecfb9d
parent8f969ee62c3fed26f835a37c41f7c009f99ea3bf
Don't invoke undefined behavior in shifts in the functions getHighBitsSet
and getLowBitsSet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35311 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h