[llvm-commits] [llvm] r78566 - /llvm/trunk/docs/WritingAnLLVMPass.html
Devang Patel
dpatel at apple.com
Mon Aug 10 09:37:29 PDT 2009
Author: dpatel
Date: Mon Aug 10 11:37:29 2009
New Revision: 78566
URL: http://llvm.org/viewvc/llvm-project?rev=78566&view=rev
Log:
Clarify limitations of a ModulePass requiring a FunctionPass.
Modified:
llvm/trunk/docs/WritingAnLLVMPass.html
Modified: llvm/trunk/docs/WritingAnLLVMPass.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.html?rev=78566&r1=78565&r2=78566&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.html (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.html Mon Aug 10 11:37:29 2009
@@ -497,7 +497,7 @@
the getAnalysis interface
<tt>getAnalysis<DominatorTree>(llvm::Function *)</tt> to provide the
function to retrieve analysis result for, if the function pass does not require
-any module passes. Note that this can only be done for functions for which the
+any module or immutable passes. Note that this can only be done for functions for which the
analysis ran, e.g. in the case of dominators you should only ask for the
DominatorTree for function definitions, not declarations.</p>
More information about the llvm-commits
mailing list