[PATCH] D18784: [PGO] Remove redundant VP runtime calls

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 14:09:42 PDT 2016


joker.eph added inline comments.

================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:401
@@ -399,2 +400,3 @@
   addFunctionSimplificationPasses(MPM);
+  MPM.add(createInstrProfilingCleanupPass());
 
----------------
Can it be a function pass? 
This is another advantage of integrating it in something like ADCE: since it helps reducing the size of the IR, it will impact the inliner threshold.


Repository:
  rL LLVM

http://reviews.llvm.org/D18784





More information about the llvm-commits mailing list