diff options
author | Eric Christopher <echristo@gmail.com> | 2014-09-02 22:28:02 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-09-02 22:28:02 +0000 |
commit | 79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea (patch) | |
tree | b7044eef1251f66d6308e6868b0430ac6a8a7297 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | |
parent | 981602a84c5e16871d23b946c8334cd830aceed2 (diff) | |
download | bcm5719-llvm-79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea.tar.gz bcm5719-llvm-79cc1e3ae7bc224fa948495ba2f1c02f4c0c84ea.zip |
Reinstate "Nuke the old JIT."
Approved by Jim Grosbach, Lang Hames, Rafael Espindola.
This reinstates commits r215111, 215115, 215116, 215117, 215136.
llvm-svn: 216982
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/BasicTargetTransformInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp index 21caf051c90..ad24038ec42 100644 --- a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp +++ b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp @@ -189,9 +189,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 { |