forked from OSchip/llvm-project
parent
590fe110f9
commit
8a24152048
|
@ -144,9 +144,6 @@ bool ConstantRange::isSignWrappedSet() const {
|
||||||
/// getSetSize - Return the number of elements in this set.
|
/// getSetSize - Return the number of elements in this set.
|
||||||
///
|
///
|
||||||
APInt ConstantRange::getSetSize() const {
|
APInt ConstantRange::getSetSize() const {
|
||||||
if (isEmptySet())
|
|
||||||
return APInt(getBitWidth()+1, 0);
|
|
||||||
|
|
||||||
if (isFullSet()) {
|
if (isFullSet()) {
|
||||||
APInt Size(getBitWidth()+1, 0);
|
APInt Size(getBitWidth()+1, 0);
|
||||||
Size.setBit(getBitWidth());
|
Size.setBit(getBitWidth());
|
||||||
|
|
Loading…
Reference in New Issue