mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 13:32:09 +00:00
cast of int to bool no longer does a compare, rendering this fixme
obsolete llvm-svn: 32972
This commit is contained in:
parent
e7eca26371
commit
adc6319e45
@ -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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user