projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nuke the old JIT.
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCCTRLoops.cpp
diff --git
a/lib/Target/PowerPC/PPCCTRLoops.cpp
b/lib/Target/PowerPC/PPCCTRLoops.cpp
index 333780f1fcd991aaf16beaaff51683782626bebe..5f3b176417368a019aeafeb9603cc8b0aed97906 100644
(file)
--- a/
lib/Target/PowerPC/PPCCTRLoops.cpp
+++ b/
lib/Target/PowerPC/PPCCTRLoops.cpp
@@
-386,8
+386,7
@@
bool PPCCTRLoops::mightUseCTR(const Triple &TT, BasicBlock *BB) {
return true;
const TargetLowering *TLI = TM->getSubtargetImpl()->getTargetLowering();
return true;
const TargetLowering *TLI = TM->getSubtargetImpl()->getTargetLowering();
- if (TLI->supportJumpTables() &&
- SI->getNumCases()+1 >= (unsigned) TLI->getMinimumJumpTableEntries())
+ if (SI->getNumCases() + 1 >= (unsigned)TLI->getMinimumJumpTableEntries())
return true;
}
}
return true;
}
}