[X86][Haswell][SchedModel] Add architecture specific scheduling models.
[oota-llvm.git] / lib / LTO / LTOCodeGenerator.cpp
index fe179cf1ac6e4a3eab0eb29eda6f3564412c00e3..a51b1c9df8b10be41874d40cabcf5b25e81b7fe1 100644 (file)
@@ -475,10 +475,8 @@ bool LTOCodeGenerator::generateObjectFile(raw_ostream &out,
   // keeps only main if it exists and does nothing for libraries. Instead
   // we create the pass ourselves with the symbol list provided by the linker.
   if (!DisableOpt)
-    PassManagerBuilder().populateLTOPassManager(passes,
-                                              /*Internalize=*/false,
-                                              !DisableInline,
-                                              DisableGVNLoadPRE);
+    PassManagerBuilder().populateLTOPassManager(passes, !DisableInline,
+                                                DisableGVNLoadPRE);
 
   // Make sure everything is still good.
   passes.add(createVerifierPass());