Add a note about the changing pass registration interface.

llvm-svn: 110231
This commit is contained in:
Owen Anderson 2010-08-04 18:27:08 +00:00
parent 0950212b50
commit f16eb37b54
1 changed files with 5 additions and 0 deletions

View File

@ -340,6 +340,11 @@ expose new optimization opportunities:</p>
<li>
VISIBILITY_HIDDEN is gone.
</li>
<li>
The <tt>RegisterPass</tt> and <tt>RegisterAnalysisGroup</tt> templates are
considered deprecated, but continue to function in LLVM 2.8. Clients are
strongly advised to use the upcoming <tt>INITIALIZE_PASS()</tt> and
<tt>INITIALIZE_AG_PASS()</tt> macros instead.
<li>
SMDiagnostic takes different parameters now. //FIXME: how to upgrade?
</li>