commit | 8ae38e15161696cae57aa1ec725ec4391d1e4c77 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Tue Jul 15 03:47:44 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Tue Jul 15 03:47:44 2008 +0000 |
tree | 3efa2eb65260f4807a1ccfc4f5657b70540de7be | |
parent | 86dae65baa8b4362bc309bd0105a788c567729d8 [diff] [blame] |
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
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2f0493a..a5100d0 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp
@@ -2675,7 +2675,7 @@ return false; } - if (PreCondLHS->getType()->isInteger()) return false; + if (!PreCondLHS->getType()->isInteger()) return false; return LHS == getSCEV(PreCondLHS) && RHS == getSCEV(PreCondRHS); }