File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -752,9 +752,10 @@ static void addSanitizers(const Triple &TargetTriple,
752
752
}
753
753
754
754
if (ClRemoveTraps) {
755
- // We can optimize after inliner, and PGO profile matching, which are part
756
- // of `buildModuleSimplificationPipeline`. The hook below is called after
757
- // that, from `buildModuleOptimizationPipeline`.
755
+ // We can optimize after inliner, and PGO profile matching. The hook below
756
+ // is called from `buildModuleOptimizationPipeline` just after profile use,
757
+ // and inliner is a part of `buildModuleSimplificationPipeline`, which is
758
+ // before `buildModuleOptimizationPipeline`.
758
759
PB.registerOptimizerEarlyEPCallback ([&](ModulePassManager &MPM,
759
760
OptimizationLevel Level) {
760
761
FunctionPassManager FPM;
You can’t perform that action at this time.
0 commit comments