[Docs] Add note about legacy PM to Ch4 of tutorial
authorKristina Brooks <notstina@gmail.com>
Tue, 12 Mar 2019 15:44:18 +0000 (15:44 +0000)
committerKristina Brooks <notstina@gmail.com>
Tue, 12 Mar 2019 15:44:18 +0000 (15:44 +0000)
commit14179673e27b3a0620f4dfd92fb40e8f1c38605a
tree82aee091135e01c29ed76dbe82f514e7dbafbdfa
parentb69a50115bd5db998dd972d2017b2332d4033b5c
[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

llvm-svn: 355930
llvm/docs/tutorial/LangImpl04.rst