forked from OSchip/llvm-project
[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
23a799adf0
commit
d2751f8fdf
|
@ -83,13 +83,6 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
|
||||||
FeaturesStr = Features.getString();
|
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...
|
// Allocate a target...
|
||||||
TargetMachine *Target =
|
TargetMachine *Target =
|
||||||
TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
|
TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
|
||||||
|
|
Loading…
Reference in New Issue