[llvm] [ctx_prof] CtxProfAnalysis: populate module data (PR #102930)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 09:58:48 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());
----------------
snehasish wrote:
Should there be a TODO here to move this AssignUniqueIDPass earlier in the pipeline in the future?
https://github.com/llvm/llvm-project/pull/102930
More information about the llvm-commits
mailing list