diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-13 22:00:45 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-13 22:00:45 +0000 |
commit | 071cee0c815e14aa868521a3f568f62bb2eefb72 (patch) | |
tree | 248e8faaa8f802a7b8889b99b92745b9610d64dd /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 6bc4f49f898986b8d8fae4e3b5c65cb9d715b4da (diff) | |
download | bcm5719-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.cpp | 5 |
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(); } |