summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/TargetSelect.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-01-11 09:59:33 -0800
committerLang Hames <lhames@gmail.com>2020-01-11 10:49:59 -0800
commitd2751f8fdf6c072045bab62f6035511e028f46ee (patch)
treebfbaa52f113c7cd8b05c229c264dc576cd28a353 /llvm/lib/ExecutionEngine/TargetSelect.cpp
parent23a799adf0abbe9a7be1494d5efd1ab3215ee4fb (diff)
downloadbcm5719-llvm-d2751f8fdf6c072045bab62f6035511e028f46ee.tar.gz
bcm5719-llvm-d2751f8fdf6c072045bab62f6035511e028f46ee.zip
[ExecutionEngine] Re-enable FastISel for non-iOS arm targets.
Patch by Nicolas Capens. Thanks Nicolas! https://reviews.llvm.org/D65015
Diffstat (limited to 'llvm/lib/ExecutionEngine/TargetSelect.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/TargetSelect.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/ExecutionEngine/TargetSelect.cpp b/llvm/lib/ExecutionEngine/TargetSelect.cpp
index 0d9c6cfa090..28ea04be1a5 100644
--- a/llvm/lib/ExecutionEngine/TargetSelect.cpp
+++ b/llvm/lib/ExecutionEngine/TargetSelect.cpp
@@ -83,13 +83,6 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
FeaturesStr = Features.getString();
}
- // FIXME: non-iOS ARM FastISel is broken with MCJIT.
- if (TheTriple.getArch() == Triple::arm &&
- !TheTriple.isiOS() &&
- OptLevel == CodeGenOpt::None) {
- OptLevel = CodeGenOpt::Less;
- }
-
// Allocate a target...
TargetMachine *Target =
TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
OpenPOWER on IntegriCloud