commit | a3bbf2411fa1e085fc371e2c9ef27970e2c89d3c | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jan 24 17:54:18 2011 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jan 24 17:54:18 2011 +0000 |
tree | 178bba618f5da225af3a1abd7df8bba11153579a | |
parent | 640b9c8fe2134a4131394989e4ef0f97e9c44813 [diff] [blame] |
Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124126 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index e3fcb84..c10af50 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp
@@ -3126,6 +3126,7 @@ /// 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;