[llvm-commits] [llvm] r70445 - in /llvm/trunk: include/llvm/Target/TargetMachine.h tools/llc/llc.cpp tools/lto/LTOCodeGenerator.cpp
Evan Cheng
evan.cheng at apple.com
Wed Apr 29 17:45:59 PDT 2009
I still see CodeGenOpt::LTO being used in llvm-backend.cpp.
Evan
On Apr 29, 2009, at 4:40 PM, Bill Wendling wrote:
> Author: void
> Date: Wed Apr 29 18:40:42 2009
> New Revision: 70445
>
> URL: http://llvm.org/viewvc/llvm-project?rev=70445&view=rev
> Log:
> Remove LTO optimization level.
>
> Modified:
> llvm/trunk/include/llvm/Target/TargetMachine.h
> llvm/trunk/tools/llc/llc.cpp
> llvm/trunk/tools/lto/LTOCodeGenerator.cpp
>
> Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=70445&r1=70444&r2=70445&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
> +++ llvm/trunk/include/llvm/Target/TargetMachine.h Wed Apr 29
> 18:40:42 2009
> @@ -76,8 +76,7 @@
> One,
> Two,
> Size,
> - Aggressive,
> - LTO
> + Aggressive
> };
> }
>
>
> Modified: llvm/trunk/tools/llc/llc.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/llc.cpp?rev=70445&r1=70444&r2=70445&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/tools/llc/llc.cpp (original)
> +++ llvm/trunk/tools/llc/llc.cpp Wed Apr 29 18:40:42 2009
> @@ -263,7 +263,6 @@
> case '2': OLvl = CodeGenOpt::Two; break;
> case 's': OLvl = CodeGenOpt::Size; break;
> case '3': OLvl = CodeGenOpt::Aggressive; break;
> - case '4': OLvl = CodeGenOpt::LTO; break;
> }
>
> // If this target requires addPassesToEmitWholeFile, do it now.
> This is
>
> Modified: llvm/trunk/tools/lto/LTOCodeGenerator.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.cpp?rev=70445&r1=70444&r2=70445&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
> +++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Wed Apr 29 18:40:42 2009
> @@ -443,7 +443,7 @@
>
> switch (_target->addPassesToEmitFile(*codeGenPasses, out,
> TargetMachine::AssemblyFile,
> - CodeGenOpt::Default)) {
> + CodeGenOpt::Aggressive)) {
> case FileModel::MachOFile:
> mce = AddMachOWriter(*codeGenPasses, out, *_target);
> break;
> @@ -459,7 +459,7 @@
> }
>
> if (_target->addPassesToEmitFileFinish(*codeGenPasses, mce,
> - CodeGenOpt::Default)) {
> + CodeGenOpt::Aggressive)) {
> errMsg = "target does not support generation of this file
> type";
> return true;
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list