mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-01 05:11:15 +00:00
[docs][NewPM] Remove buildDefaultAAPipeline() in example
With D113210 we're already using the default AA pipeline by default.
This commit is contained in:
parent
be1ffda0a5
commit
bfdf28f963
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user