[llvm-commits] [llvm] r78669 - /llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h
Dan Gohman
gohman at apple.com
Tue Aug 11 08:50:56 PDT 2009
Author: djg
Date: Tue Aug 11 10:50:56 2009
New Revision: 78669
URL: http://llvm.org/viewvc/llvm-project?rev=78669&view=rev
Log:
Add a comment about the additional meaning of setPreservesCFG() for
MachineFunctionPass passes.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h?rev=78669&r1=78668&r2=78669&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunctionPass.h Tue Aug 11 10:50:56 2009
@@ -40,6 +40,10 @@
/// 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:
More information about the llvm-commits
mailing list