mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
If nobody minds, I'm using LTO to produce faster binaries. Switch fast codegen
off in libLTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0000c376c
commit
a9183c8020
@ -420,7 +420,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
|
||||
MachineCodeEmitter* mce = NULL;
|
||||
|
||||
switch (_target->addPassesToEmitFile(*codeGenPasses, out,
|
||||
TargetMachine::AssemblyFile, true)) {
|
||||
TargetMachine::AssemblyFile, false)) {
|
||||
case FileModel::MachOFile:
|
||||
mce = AddMachOWriter(*codeGenPasses, out, *_target);
|
||||
break;
|
||||
@ -435,7 +435,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce, true)) {
|
||||
if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce, false)) {
|
||||
errMsg = "target does not support generation of this file type";
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user