mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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
This commit is contained in:
parent
ee4f13a904
commit
f82188c9ce
@ -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…
Reference in New Issue
Block a user