[llvm-commits] [llvm] r65336 - /llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
Bill Wendling
isanbard at gmail.com
Mon Feb 23 11:41:54 PST 2009
Author: void
Date: Mon Feb 23 13:41:52 2009
New Revision: 65336
URL: http://llvm.org/viewvc/llvm-project?rev=65336&view=rev
Log:
Pull r65310 into Dib:
If nobody minds, I'm using LTO to produce faster binaries. Switch fast codegen
off in libLTO.
Modified:
llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp?rev=65336&r1=65335&r2=65336&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/branches/Apple/Dib/tools/lto/LTOCodeGenerator.cpp Mon Feb 23 13:41:52 2009
@@ -420,7 +420,7 @@
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 @@
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;
}
More information about the llvm-commits
mailing list