Actually, for getHighBitsSet and getLowBitsSet, don't make a 0 bit size
authorReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 00:01:47 +0000 (00:01 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 25 Mar 2007 00:01:47 +0000 (00:01 +0000)
commita1689ea60eafb10a617ba588fe29e09683299368
treea6240e260fabd1b79ae6f0c3eeb4c71221be3086
parent42593e69e2fb74364c85ae5155cd2105faafa203
Actually, for getHighBitsSet and getLowBitsSet, don't make a 0 bit size
illegal. Instead do the 0 valued construction for the user. This is because
the caller may not know (or care to check) that the number of bits set is
zero.

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