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 | ae0a7bc68303ce0c8721f0e981ae602601390e68 (patch) | |
tree | b7ec99526b40d2ce5f50c59083e7e4991b8f6c28 /lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 139788fe6f606075507f7cbb66cdbac57d8fabcd (diff) |
CallGraphSCC passes implicity require CallGraph analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r-- | lib/Transforms/IPO/FunctionAttrs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/FunctionAttrs.cpp b/lib/Transforms/IPO/FunctionAttrs.cpp index 0c0ca84462..9297356e29 100644 --- a/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/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(); } |