[llvm] [ctx_prof] Insert the ctx prof flattener after the module inliner (PR #107499)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 14:07:57 PDT 2024
================
@@ -1744,11 +1749,14 @@ ModulePassManager PassBuilder::buildThinLTODefaultPipeline(
MPM.addPass(GlobalDCEPass());
return MPM;
}
-
- // Add the core simplification pipeline.
- MPM.addPass(buildModuleSimplificationPipeline(
- Level, ThinOrFullLTOPhase::ThinLTOPostLink));
-
+ if (!UseCtxProfile.empty()) {
+ MPM.addPass(
----------------
david-xl wrote:
OR the intention is to do a quick e2e integration?
https://github.com/llvm/llvm-project/pull/107499
More information about the llvm-commits
mailing list