[llvm] r282514 - [SCEV] Use find instead of find_as; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 11:01:47 PDT 2016
Author: sanjoy
Date: Tue Sep 27 13:01:46 2016
New Revision: 282514
URL: http://llvm.org/viewvc/llvm-project?rev=282514&view=rev
Log:
[SCEV] Use find instead of find_as; NFC
We don't need the extra generality here.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=282514&r1=282513&r2=282514&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Tue Sep 27 13:01:46 2016
@@ -3366,7 +3366,7 @@ bool ScalarEvolution::containsAddRecurre
bool isDone() const { return FoundOne; }
};
- HasRecMapType::iterator I = HasRecMap.find_as(S);
+ HasRecMapType::iterator I = HasRecMap.find(S);
if (I != HasRecMap.end())
return I->second;
More information about the llvm-commits
mailing list