Implement a getBitsNeeded method to determine how many bits are needed to
authorReid Spencer <rspencer@reidspencer.com>
Fri, 13 Apr 2007 19:19:07 +0000 (19:19 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 13 Apr 2007 19:19:07 +0000 (19:19 +0000)
commit57ae4f5f01b6f8edf678d77ab935f3662993065d
treecd149b09994e203bf21c75ce93ee76169b116a22
parent4beccb897dc4851c61aaa7577d9a0aed0bac78bc
Implement a getBitsNeeded method to determine how many bits are needed to
represent a string in binary form by an APInt.

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