forked from OSchip/llvm-project
Correct this inversion!
I swear that didn't show up in svn diff... llvm-svn: 53587
This commit is contained in:
parent
3752e51311
commit
970914c8c8
|
@ -2675,7 +2675,7 @@ bool ScalarEvolutionsImpl::executesAtLeastOnce(const Loop *L, bool isSigned,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (PreCondLHS->getType()->isInteger()) return false;
|
||||
if (!PreCondLHS->getType()->isInteger()) return false;
|
||||
|
||||
return LHS == getSCEV(PreCondLHS) && RHS == getSCEV(PreCondRHS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue