Add a comment.

llvm-svn: 124126
This commit is contained in:
Dan Gohman 2011-01-24 17:54:18 +00:00
parent 4deda530c2
commit 3ac8cd614f
1 changed files with 1 additions and 0 deletions

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;