From: Dan Gohman Date: Mon, 24 Jan 2011 17:54:18 +0000 (+0000) Subject: Add a comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a3bbf2411fa1e085fc371e2c9ef27970e2c89d3c;p=oota-llvm.git 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 e3fcb8428e8..c10af50dd59 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -3126,6 +3126,7 @@ ScalarEvolution::getUnsignedRange(const SCEV *S) { /// ConstantRange ScalarEvolution::getSignedRange(const SCEV *S) { + // See if we've computed this range already. DenseMap::iterator I = SignedRanges.find(S); if (I != SignedRanges.end()) return I->second;