[PATCH] D24004: [ThinLTO] Indirect call promotion fixes for promoted local functions

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 14:17:46 PDT 2016


davidxl added inline comments.

================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:412
@@ +411,3 @@
+  // are removed.
+  if (PerformThinLTO)
+    MPM.add(createPGOIndirectCallPromotionLegacyPass(/*InLTO = */ true));
----------------
Is there PGOInstr/Annotation pass before this?


https://reviews.llvm.org/D24004





More information about the llvm-commits mailing list