1
0
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:
Lang Hames 2020-01-11 09:59:33 -08:00
parent 01cf1a3805
commit 92479bab85

View File

@ -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,