diff --git a/llvm/docs/tutorial/LangImpl04.rst b/llvm/docs/tutorial/LangImpl04.rst index 8927a912cc20e4d069990a21749bc2d90869d455..bdd21d6cd4ae192e33f717879cf1a6ac5ee6e90e 100644 --- a/llvm/docs/tutorial/LangImpl04.rst +++ b/llvm/docs/tutorial/LangImpl04.rst @@ -94,6 +94,14 @@ use, in the form of "passes". LLVM Optimization Passes ======================== +.. warning:: + + Due to the transition to the new PassManager infrastructure this tutorial + is based on ``llvm::legacy::FunctionPassManager`` which can be found in + `LegacyPassManager.h `_. + For the purpose of the this tutorial the above should be used until + the pass manager transition is complete. + LLVM provides many optimization passes, which do many different sorts of things and have different tradeoffs. Unlike other systems, LLVM doesn't hold to the mistaken notion that one set of optimizations is right for