forked from OSchip/llvm-project
Stylistic change.
Thank Nick for figuring out these problems. llvm-svn: 186146
This commit is contained in:
parent
89c41bf06a
commit
23773b34c6
|
@ -545,7 +545,7 @@ namespace llvm {
|
|||
/// forgetMemoizedResults - Drop memoized information computed for S.
|
||||
void forgetMemoizedResults(const SCEV *S);
|
||||
|
||||
/// return false iff given SCEV contains a SCEVUnknown with NULL value-
|
||||
/// Return false iff given SCEV contains a SCEVUnknown with NULL value-
|
||||
/// pointer.
|
||||
bool checkValidity(const SCEV *S) const;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue