parent
b07de44d5a
commit
d231d78f3f
|
@ -2632,7 +2632,7 @@ ScalarEvolution::getUnsignedRange(const SCEV *S) {
|
||||||
APInt Max = APIntOps::umax(StartRange.getUnsignedMax(),
|
APInt Max = APIntOps::umax(StartRange.getUnsignedMax(),
|
||||||
EndRange.getUnsignedMax());
|
EndRange.getUnsignedMax());
|
||||||
if (Min.isMinValue() && Max.isMaxValue())
|
if (Min.isMinValue() && Max.isMaxValue())
|
||||||
return ConstantRange(Min.getBitWidth(), /*isFullSet=*/true);
|
return FullSet;
|
||||||
return ConstantRange(Min, Max+1);
|
return ConstantRange(Min, Max+1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue