projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0040725
)
Add a comment about the additional meaning of setPreservesCFG() for
author
Dan Gohman
<gohman@apple.com>
Tue, 11 Aug 2009 15:50:56 +0000
(15:50 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 11 Aug 2009 15:50:56 +0000
(15:50 +0000)
MachineFunctionPass passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78669
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineFunctionPass.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineFunctionPass.h
b/include/llvm/CodeGen/MachineFunctionPass.h
index 6f7c216382a075a6788849862efde85f637ca64f..60460afae7a8623da01be475da54de5e1a1de878 100644
(file)
--- 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: