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 @@ -751,9 +751,10 @@ static void addSanitizers(const Triple &TargetTriple,
751
751
}
752
752
753
753
if (ClRemoveTraps) {
754
- // We can optimize after inliner, and PGO profile matching, which are part
755
- // of `buildModuleSimplificationPipeline`. The hook below is called after
756
- // that, from `buildModuleOptimizationPipeline`.
754
+ // We can optimize after inliner, and PGO profile matching. The hook below
755
+ // is called from `buildModuleOptimizationPipeline` just after profile use,
756
+ // and inliner is a part of `buildModuleSimplificationPipeline`, which is
757
+ // before `buildModuleOptimizationPipeline`.
757
758
PB.registerOptimizerEarlyEPCallback ([&](ModulePassManager &MPM,
758
759
OptimizationLevel Level) {
759
760
FunctionPassManager FPM;
You can’t perform that action at this time.
0 commit comments