Add a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2011-01-24 17:54:18 +00:00
parent 640b9c8fe2
commit a3bbf2411f

View File

@ -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;