mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[ExecutionEngine] Re-enable FastISel for non-iOS arm targets.
Patch by Nicolas Capens. Thanks Nicolas! https://reviews.llvm.org/D65015
This commit is contained in:
parent
01cf1a3805
commit
92479bab85
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user