mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Clarify limitations of a ModulePass requiring a FunctionPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdb1f493ab
commit
468857f22f
@ -497,7 +497,7 @@ subclasses, no optimization can be done for their execution.</p>
|
||||
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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user