mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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:
@ -545,7 +545,7 @@ namespace llvm {
|
|||||||
/// forgetMemoizedResults - Drop memoized information computed for S.
|
/// forgetMemoizedResults - Drop memoized information computed for S.
|
||||||
void forgetMemoizedResults(const SCEV *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.
|
/// pointer.
|
||||||
bool checkValidity(const SCEV *S) const;
|
bool checkValidity(const SCEV *S) const;
|
||||||
|
|
||||||
|
@ -2728,7 +2728,7 @@ namespace {
|
|||||||
case scConstant:
|
case scConstant:
|
||||||
return false;
|
return false;
|
||||||
case scUnknown:
|
case scUnknown:
|
||||||
if(!cast<SCEVUnknown>(S)->getValue())
|
if (!cast<SCEVUnknown>(S)->getValue())
|
||||||
FindOne = true;
|
FindOne = true;
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
@ -2755,7 +2755,7 @@ const SCEV *ScalarEvolution::getSCEV(Value *V) {
|
|||||||
ValueExprMapType::iterator I = ValueExprMap.find_as(V);
|
ValueExprMapType::iterator I = ValueExprMap.find_as(V);
|
||||||
if (I != ValueExprMap.end()) {
|
if (I != ValueExprMap.end()) {
|
||||||
const SCEV *S = I->second;
|
const SCEV *S = I->second;
|
||||||
if(checkValidity(S))
|
if (checkValidity(S))
|
||||||
return S;
|
return S;
|
||||||
else
|
else
|
||||||
ValueExprMap.erase(I);
|
ValueExprMap.erase(I);
|
||||||
|
Reference in New Issue
Block a user