projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dae65
)
Correct this inversion!
author
Nick Lewycky
<nicholas@mxc.ca>
Tue, 15 Jul 2008 03:47:44 +0000
(
03:47
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Tue, 15 Jul 2008 03:47:44 +0000
(
03:47
+0000)
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
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 2f0493aa8821faf7f14e48f4adf8f2231a09fa09..a5100d0227783769b55f909fb408d37bc4115132 100644
(file)
--- 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);
}