summaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-07 02:05:20 +0000
committerChris Lattner <sabre@nondot.org>2007-01-07 02:05:20 +0000
commitf82188c9ced9938fe805511d960cf11a829c7b58 (patch)
tree104b0cb44849b080708f38266e0609b4593bea0d /lib/Analysis/ScalarEvolution.cpp
parentee4f13a9046c380725cdeab62d57722db375c473 (diff)
downloadllvm-f82188c9ced9938fe805511d960cf11a829c7b58.tar.gz
llvm-f82188c9ced9938fe805511d960cf11a829c7b58.tar.bz2
llvm-f82188c9ced9938fe805511d960cf11a829c7b58.tar.xz
cast of int to bool no longer does a compare, rendering this fixme
obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--lib/Analysis/ScalarEvolution.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index a43b585d9a..e2a03c8924 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -1495,7 +1495,6 @@ SCEVHandle ScalarEvolutionsImpl::ComputeIterationCount(const Loop *L) {
// exit.
//
// FIXME: we should be able to handle switch instructions (with a single exit)
- // FIXME: We should handle cast of int to bool as well
BranchInst *ExitBr = dyn_cast<BranchInst>(ExitingBlock->getTerminator());
if (ExitBr == 0) return UnknownValue;
assert(ExitBr->isConditional() && "If unconditional, it can't be in loop!");