diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-07-15 03:47:44 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-07-15 03:47:44 +0000 |
commit | 8ae38e15161696cae57aa1ec725ec4391d1e4c77 (patch) | |
tree | 3efa2eb65260f4807a1ccfc4f5657b70540de7be | |
parent | 86dae65baa8b4362bc309bd0105a788c567729d8 (diff) |
Correct this inversion!
I swear that didn't show up in svn diff...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53587 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2f0493aa88..a5100d0227 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -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); } |