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
This commit is contained in:
Shuxin Yang
2013-07-12 07:25:38 +00:00
parent 523cd85b50
commit a10369920f
2 changed files with 3 additions and 3 deletions

View File

@ -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);