aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-31 01:52:50 +0000
committerDan Gohman <gohman@apple.com>2009-07-31 01:52:50 +0000
commitbcb44baa5750b5a36ff0cb3c65a34aec5ca691ec (patch)
tree6c503ae8238750a702365d095a9b58c48b7dd356 /llvm/lib/CodeGen/LiveVariables.cpp
parentdfbd0c4b0db17f50054dd7ce0d76cec48445780f (diff)
downloadllvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.zip
llvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.tar.gz
llvm-bcb44baa5750b5a36ff0cb3c65a34aec5ca691ec.tar.bz2
Manage MachineFunctions with an analysis Pass instead of the Annotable
mechanism. To support this, make MachineFunctionPass a little more complete. llvm-svn: 77654
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index bb72d80..2034566 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/lib/CodeGen/LiveVariables.cpp
@@ -48,6 +48,7 @@ static RegisterPass<LiveVariables> X("livevars", "Live Variable Analysis");
void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequiredID(UnreachableMachineBlockElimID);
AU.setPreservesAll();
+ MachineFunctionPass::getAnalysisUsage(AU);
}
void LiveVariables::VarInfo::dump() const {