llvm.org GIT mirror llvm / f960871
[Docs] Add note about legacy PM to Ch4 of tutorial Add a note about legacy FunctionPassManager to the LLVM tutorial. It seems to confuse some people, worth adding a warning to the tutorial to elaborate and suggest using `llvm::legacy::FunctionPassManager` for now. Not a perfect solution but hopefully will avoid confusion in the meantime. Differential Revision: https://reviews.llvm.org/D59258 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355930 91177308-0d34-0410-b5e6-96231b3b80d8 Kristina Brooks 5 months ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9393 LLVM Optimization Passes
9494 ========================
96 .. warning::
98 Due to the transition to the new PassManager infrastructure this tutorial
99 is based on ``llvm::legacy::FunctionPassManager`` which can be found in
100 `LegacyPassManager.h `_.
101 For the purpose of the this tutorial the above should be used until
102 the pass manager transition is complete.
96104 LLVM provides many optimization passes, which do many different sorts of
97105 things and have different tradeoffs. Unlike other systems, LLVM doesn't