In the getBitsSet function, don't optimize for a common case that is
authorReid Spencer <rspencer@reidspencer.com>
Sat, 24 Mar 2007 23:42:47 +0000 (23:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 24 Mar 2007 23:42:47 +0000 (23:42 +0000)
commit5b7e659e220ed01c8d3a7335e2b52ff2f0fb2ef3
treea9d793ca297677ec3ad51ec57c74895d0e8c3e42
parentca76fc2cd3b97e4821e7d8247bc03bbbd2789ad9
In the getBitsSet function, don't optimize for a common case that is
already covered by getLowBitsSet (i.e. when loBits==0). Consequently, remove
the default value for loBits and reorder the arguments to the more natural
loBits, hiBits order. This makes it more clear that this function is for bit
groups in the middle of the bit width and not towards one end or the other.

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