1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

cast of int to bool no longer does a compare, rendering this fixme

obsolete

llvm-svn: 32972
This commit is contained in:
Chris Lattner 2007-01-07 02:05:20 +00:00
parent e7eca26371
commit adc6319e45

View File

@ -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!");