projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1ffda
)
[docs][NewPM] Remove buildDefaultAAPipeline() in example
author
Arthur Eubanks
<aeubanks@google.com>
Fri, 18 Feb 2022 18:41:41 +0000
(10:41 -0800)
committer
Arthur Eubanks
<aeubanks@google.com>
Fri, 18 Feb 2022 18:43:26 +0000
(10:43 -0800)
With D113210 we're already using the default AA pipeline by default.
llvm/docs/NewPassManager.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/NewPassManager.rst
b/llvm/docs/NewPassManager.rst
index
9074603
..
74ed077
100644
(file)
--- a/
llvm/docs/NewPassManager.rst
+++ b/
llvm/docs/NewPassManager.rst
@@
-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);