[PATCH] D25041: Refactor the ProfileSummaryInfo to use doInitialization and doFinalization to handle Module update.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 13:50:11 PDT 2016


mehdi_amini added inline comments.

================
Comment at: lib/Analysis/ProfileSummaryInfo.cpp:144
@@ +143,3 @@
+bool ProfileSummaryInfoWrapperPass::doInitialization(Module &M) {
+  PSI.reset(new ProfileSummaryInfo(&M));
+  return false;
----------------
Can you also have ProfileSummaryInfo take and store a reference again please?


https://reviews.llvm.org/D25041





More information about the llvm-commits mailing list