summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-08-07 14:21:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-08-07 14:21:18 +0000
commitf8b27c41e84cefba4be361b96cc0bd545e1dc64d (patch)
tree30da06ab749221027f133c39c8d85ade1bdc2807 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
parent84d35dfe962dcac4833381e5bd52eddcbcb91662 (diff)
downloadbcm5719-llvm-f8b27c41e84cefba4be361b96cc0bd545e1dc64d.tar.gz
bcm5719-llvm-f8b27c41e84cefba4be361b96cc0bd545e1dc64d.zip
Nuke the old JIT.
I am sure we will be finding bits and pieces of dead code for years to come, but this is a good start. Thanks to Lang Hames for making MCJIT a good replacement! llvm-svn: 215111
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/BasicTargetTransformInfo.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
index 24bc570f44a..43a6e0f26dc 100644
--- a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
+++ b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
@@ -188,9 +188,8 @@ unsigned BasicTTI::getJumpBufSize() const {
bool BasicTTI::shouldBuildLookupTables() const {
const TargetLoweringBase *TLI = getTLI();
- return TLI->supportJumpTables() &&
- (TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
- TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other));
+ return TLI->isOperationLegalOrCustom(ISD::BR_JT, MVT::Other) ||
+ TLI->isOperationLegalOrCustom(ISD::BRIND, MVT::Other);
}
bool BasicTTI::haveFastSqrt(Type *Ty) const {
OpenPOWER on IntegriCloud