From: Nick Lewycky Date: Tue, 15 Jul 2008 03:47:44 +0000 (+0000) Subject: Correct this inversion! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ae38e15161696cae57aa1ec725ec4391d1e4c77;p=oota-llvm.git 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 2f0493aa882..a5100d02277 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); }