summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-10-13 22:00:45 +0000
committerOwen Anderson <resistor@mac.com>2010-10-13 22:00:45 +0000
commit071cee0c815e14aa868521a3f568f62bb2eefb72 (patch)
tree248e8faaa8f802a7b8889b99b92745b9610d64dd /llvm/lib/Transforms/IPO/FunctionAttrs.cpp
parent6bc4f49f898986b8d8fae4e3b5c65cb9d715b4da (diff)
downloadbcm5719-llvm-071cee0c815e14aa868521a3f568f62bb2eefb72.tar.gz
bcm5719-llvm-071cee0c815e14aa868521a3f568f62bb2eefb72.zip
CallGraphSCC passes implicity require CallGraph analysis.
llvm-svn: 116443
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/FunctionAttrs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index 0c0ca84462b..9297356e29d 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
@@ -69,7 +69,10 @@ namespace {
}
char FunctionAttrs::ID = 0;
-INITIALIZE_PASS(FunctionAttrs, "functionattrs",
+INITIALIZE_PASS_BEGIN(FunctionAttrs, "functionattrs",
+ "Deduce function attributes", false, false)
+INITIALIZE_AG_DEPENDENCY(CallGraph)
+INITIALIZE_PASS_END(FunctionAttrs, "functionattrs",
"Deduce function attributes", false, false)
Pass *llvm::createFunctionAttrsPass() { return new FunctionAttrs(); }
OpenPOWER on IntegriCloud