mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-28 15:41:58 +00:00
Minor code simplification.
llvm-svn: 100994
This commit is contained in:
parent
07d134b751
commit
f73ed98d56
@ -2922,8 +2922,7 @@ ScalarEvolution::getUnsignedRange(const SCEV *S) {
|
||||
if (const SCEVConstant *C = dyn_cast<SCEVConstant>(AddRec->getStart()))
|
||||
if (!C->isZero())
|
||||
ConservativeResult =
|
||||
ConstantRange(C->getValue()->getValue(),
|
||||
APInt(getTypeSizeInBits(C->getType()), 0));
|
||||
ConstantRange(C->getValue()->getValue(), APInt(BitWidth, 0));
|
||||
|
||||
// TODO: non-affine addrec
|
||||
if (AddRec->isAffine()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user