[PATCH] D59258: [Docs] Add a note about legacy FunctionPassManager to the LLVM tutorial.

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 08:45:28 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL355930: [Docs] Add note about legacy PM to Ch4 of tutorial (authored by kristina, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D59258?vs=190265&id=190272#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59258/new/

https://reviews.llvm.org/D59258

Files:
  llvm/trunk/docs/tutorial/LangImpl04.rst


Index: llvm/trunk/docs/tutorial/LangImpl04.rst
===================================================================
--- llvm/trunk/docs/tutorial/LangImpl04.rst
+++ llvm/trunk/docs/tutorial/LangImpl04.rst
@@ -94,6 +94,14 @@
 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 <http://llvm.org/doxygen/classllvm_1_1legacy_1_1FunctionPassManager.html>`_.
+   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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59258.190272.patch
Type: text/x-patch
Size: 886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/446b4d20/attachment.bin>


More information about the llvm-commits mailing list