[llvm] [ctx_prof] CtxProfAnalysis: populate module data (PR #102930)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 12:23:54 PDT 2024


================
@@ -1196,6 +1196,7 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
     // In pre-link, we just want the instrumented IR. We use the contextual
     // profile in the post-thinlink phase.
     // The instrumentation will be removed in post-thinlink after IPO.
+    MPM.addPass(AssignUniqueIDPass());
----------------
mtrofin wrote:

done. Come to think of it, it may eventually make sense for this to be an analysis, but this is for a RFC to decide. Left the 

https://github.com/llvm/llvm-project/pull/102930


More information about the llvm-commits mailing list