diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-07 14:21:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-07 14:21:18 +0000 |
commit | f8b27c41e84cefba4be361b96cc0bd545e1dc64d (patch) | |
tree | 30da06ab749221027f133c39c8d85ade1bdc2807 /llvm/lib/ExecutionEngine/TargetSelect.cpp | |
parent | 84d35dfe962dcac4833381e5bd52eddcbcb91662 (diff) | |
download | bcm5719-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/ExecutionEngine/TargetSelect.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/TargetSelect.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/TargetSelect.cpp b/llvm/lib/ExecutionEngine/TargetSelect.cpp index b10d51f6486..e6679cfb7f7 100644 --- a/llvm/lib/ExecutionEngine/TargetSelect.cpp +++ b/llvm/lib/ExecutionEngine/TargetSelect.cpp @@ -30,7 +30,7 @@ TargetMachine *EngineBuilder::selectTarget() { // MCJIT can generate code for remote targets, but the old JIT and Interpreter // must use the host architecture. - if (UseMCJIT && WhichEngine != EngineKind::Interpreter && M) + if (WhichEngine != EngineKind::Interpreter && M) TT.setTriple(M->getTargetTriple()); return selectTarget(TT, MArch, MCPU, MAttrs); @@ -89,8 +89,7 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, } // FIXME: non-iOS ARM FastISel is broken with MCJIT. - if (UseMCJIT && - TheTriple.getArch() == Triple::arm && + if (TheTriple.getArch() == Triple::arm && !TheTriple.isiOS() && OptLevel == CodeGenOpt::None) { OptLevel = CodeGenOpt::Less; |