OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee4f13a
)
cast of int to bool no longer does a compare, rendering this fixme
author
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 02:05:20 +0000
(
02:05
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 02:05:20 +0000
(
02:05
+0000)
obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32972
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
a43b585
..
e2a03c8
100644
(file)
--- 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!");