Skip to content

Commit

Permalink
[docs][NewPM] Remove buildDefaultAAPipeline() in example
Browse files Browse the repository at this point in the history
With D113210 we're already using the default AA pipeline by default.
  • Loading branch information
aeubanks committed Feb 18, 2022
1 parent be1ffda commit bfdf28f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/docs/NewPassManager.rst
Expand Up @@ -28,10 +28,6 @@ Just Tell Me How To Run The Default Optimization Pipeline With The New Pass Mana
// options.
PassBuilder PB;

// Make sure to use the default alias analysis pipeline, otherwise we'll end
// up only using a subset of the available analyses.
FAM.registerPass([&] { return PB.buildDefaultAAPipeline(); });

// Register all the basic analyses with the managers.
PB.registerModuleAnalyses(MAM);
PB.registerCGSCCAnalyses(CGAM);
Expand Down

0 comments on commit bfdf28f

Please sign in to comment.