projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a799a
)
[ExecutionEngine] Re-enable FastISel for non-iOS arm targets.
author
Lang Hames
<lhames@gmail.com>
Sat, 11 Jan 2020 17:59:33 +0000
(09:59 -0800)
committer
Lang Hames
<lhames@gmail.com>
Sat, 11 Jan 2020 18:49:59 +0000
(10:49 -0800)
Patch by Nicolas Capens. Thanks Nicolas!
https://reviews.llvm.org/D65015
llvm/lib/ExecutionEngine/TargetSelect.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/TargetSelect.cpp
b/llvm/lib/ExecutionEngine/TargetSelect.cpp
index
0d9c6cf
..
28ea04b
100644
(file)
--- 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,