From 970914c8c8bee5f4c72cc84bff46cd015a31fad2 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 15 Jul 2008 03:47:44 +0000 Subject: [PATCH] Correct this inversion! I swear that didn't show up in svn diff... llvm-svn: 53587 --- llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 2f0493aa8821..a5100d022778 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/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); }