diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-29 23:40:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-29 23:40:42 +0000 |
commit | 2d1c11613a4e56dce9d8480dcb0c4757bd6c2cff (patch) | |
tree | 17d1e4d3cf368c1c53a3926cce306c746a2006b2 /tools/lto | |
parent | 5ed22ac54c2530a1d0d140d259f881f3b2040e56 (diff) | |
download | external_llvm-2d1c11613a4e56dce9d8480dcb0c4757bd6c2cff.zip external_llvm-2d1c11613a4e56dce9d8480dcb0c4757bd6c2cff.tar.gz external_llvm-2d1c11613a4e56dce9d8480dcb0c4757bd6c2cff.tar.bz2 |
Remove LTO optimization level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 66b56b1..70744c9 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -443,7 +443,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out, switch (_target->addPassesToEmitFile(*codeGenPasses, out, TargetMachine::AssemblyFile, - CodeGenOpt::Default)) { + CodeGenOpt::Aggressive)) { case FileModel::MachOFile: mce = AddMachOWriter(*codeGenPasses, out, *_target); break; @@ -459,7 +459,7 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out, } if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce, - CodeGenOpt::Default)) { + CodeGenOpt::Aggressive)) { errMsg = "target does not support generation of this file type"; return true; } |