[PATCH] D13443: Rework the LTO Pipeline, aligning closer to the O2/O3 pipeline.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 12:16:13 PDT 2015


tejohnson added a subscriber: tejohnson.

================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:322
@@ +321,3 @@
+  // during LTO and performs the rest of the optimizations afterward.
+  if (PrepareForLTO)
+    return;
----------------
Why not perform the first round of inlining and some of the other optimizations (like the peepholes) called below when preparing for LTO? I would think this would result in smaller intermediate .o bitcode sizes and more efficient LTO. 


http://reviews.llvm.org/D13443





More information about the llvm-commits mailing list