[llvm-commits] [llvm] r53587 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Jul 14 20:47:44 PDT 2008
Author: nicholas
Date: Mon Jul 14 22:47:44 2008
New Revision: 53587
URL: http://llvm.org/viewvc/llvm-project?rev=53587&view=rev
Log:
Correct this inversion!
I swear that didn't show up in svn diff...
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=53587&r1=53586&r2=53587&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Mon Jul 14 22:47:44 2008
@@ -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);
}
More information about the llvm-commits
mailing list