diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-07-12 07:25:38 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-07-12 07:25:38 +0000 |
commit | a10369920fa86d8961495b71dbc00f5596d122d9 (patch) | |
tree | 7642b1c200a935a535b4d8dd576a3610eb8ab3e9 /lib/Analysis | |
parent | 523cd85b50c3081d9859fe41afadce13c43e1bc9 (diff) | |
download | external_llvm-a10369920fa86d8961495b71dbc00f5596d122d9.zip external_llvm-a10369920fa86d8961495b71dbc00f5596d122d9.tar.gz external_llvm-a10369920fa86d8961495b71dbc00f5596d122d9.tar.bz2 |
Stylistic change.
Thank Nick for figuring out these problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 69beaaf..85290d6 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -2728,7 +2728,7 @@ namespace { case scConstant: return false; case scUnknown: - if(!cast<SCEVUnknown>(S)->getValue()) + if (!cast<SCEVUnknown>(S)->getValue()) FindOne = true; return false; default: @@ -2755,7 +2755,7 @@ const SCEV *ScalarEvolution::getSCEV(Value *V) { ValueExprMapType::iterator I = ValueExprMap.find_as(V); if (I != ValueExprMap.end()) { const SCEV *S = I->second; - if(checkValidity(S)) + if (checkValidity(S)) return S; else ValueExprMap.erase(I); |