mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Clean up some usage of Triple. The base class has methods for determining if the target is iOS and Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -91,7 +91,7 @@ TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
|
||||
// FIXME: non-iOS ARM FastISel is broken with MCJIT.
|
||||
if (UseMCJIT &&
|
||||
TheTriple.getArch() == Triple::arm &&
|
||||
TheTriple.getOS() != Triple::IOS &&
|
||||
!TheTriple.isiOS() &&
|
||||
OptLevel == CodeGenOpt::None) {
|
||||
OptLevel = CodeGenOpt::Less;
|
||||
}
|
||||
|
Reference in New Issue
Block a user