Remove LTO optimization level.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70445 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index cf58384..bb49d32 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -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
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 @@
 
     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;
     }