aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunctionPass.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-11 15:50:56 +0000
committerDan Gohman <gohman@apple.com>2009-08-11 15:50:56 +0000
commitd1ad72f54f4abf62a5f0b2c297edf5e4b1ab1024 (patch)
treeb2024a44e9dfa9f42cf78b1303847e279b2ec373 /include/llvm/CodeGen/MachineFunctionPass.h
parent004072508bfc66159ca09be26f06b8b05c1bac4e (diff)
Add a comment about the additional meaning of setPreservesCFG() for
MachineFunctionPass passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunctionPass.h')
-rw-r--r--include/llvm/CodeGen/MachineFunctionPass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunctionPass.h b/include/llvm/CodeGen/MachineFunctionPass.h
index 6f7c216382..60460afae7 100644
--- a/include/llvm/CodeGen/MachineFunctionPass.h
+++ b/include/llvm/CodeGen/MachineFunctionPass.h
@@ -40,6 +40,10 @@ protected:
/// getAnalysisUsage - Subclasses that override getAnalysisUsage
/// must call this.
+ ///
+ /// For MachineFunctionPasses, calling AU.preservesCFG() indicates that
+ /// the pass does not modify the MachineBasicBlock CFG.
+ ///
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
private: