forked from OSchip/llvm-project
parent
4deda530c2
commit
3ac8cd614f
|
@ -3126,6 +3126,7 @@ ScalarEvolution::getUnsignedRange(const SCEV *S) {
|
|||
///
|
||||
ConstantRange
|
||||
ScalarEvolution::getSignedRange(const SCEV *S) {
|
||||
// See if we've computed this range already.
|
||||
DenseMap<const SCEV *, ConstantRange>::iterator I = SignedRanges.find(S);
|
||||
if (I != SignedRanges.end())
|
||||
return I->second;
|
||||
|
|
Loading…
Reference in New Issue