diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-07 02:05:20 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-07 02:05:20 +0000 |
| commit | 39087c712712b373dd8ddda56397c73121142cb2 (patch) | |
| tree | 1e2dcd1e93745c772e20ce505e8b8124aac180c1 /llvm/lib/Analysis/ScalarEvolution.cpp | |
| parent | 0816559b1380be7ebd9ba96b3618c397a0bb099e (diff) | |
| download | bcm5719-llvm-39087c712712b373dd8ddda56397c73121142cb2.tar.gz bcm5719-llvm-39087c712712b373dd8ddda56397c73121142cb2.zip | |
cast of int to bool no longer does a compare, rendering this fixme
obsolete
llvm-svn: 32972
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index a43b585d9a5..e2a03c89241 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/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!"); |

