summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-08-10 16:37:29 +0000
committerDevang Patel <dpatel@apple.com>2009-08-10 16:37:29 +0000
commit714612b1eb8c730612cfb6332ecbaf45465fc605 (patch)
treea8c258a2b8c972b177961f714d099201380d379b /llvm/docs
parent2587b6153358de675a6fc5f0372a85f3350f96e9 (diff)
downloadbcm5719-llvm-714612b1eb8c730612cfb6332ecbaf45465fc605.tar.gz
bcm5719-llvm-714612b1eb8c730612cfb6332ecbaf45465fc605.zip
Clarify limitations of a ModulePass requiring a FunctionPass.
llvm-svn: 78566
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/WritingAnLLVMPass.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/WritingAnLLVMPass.html b/llvm/docs/WritingAnLLVMPass.html
index b8ac9e91049..ed6b4d662a1 100644
--- a/llvm/docs/WritingAnLLVMPass.html
+++ b/llvm/docs/WritingAnLLVMPass.html
@@ -497,7 +497,7 @@ subclasses, no optimization can be done for their execution.</p>
the getAnalysis interface
<tt>getAnalysis&lt;DominatorTree&gt;(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>
OpenPOWER on IntegriCloud