diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-29 17:00:13 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-29 17:00:13 +0000 |
commit | b1ba352efac87bd6a5eaf1fe0b6e58f13a7ecbcd (patch) | |
tree | e2f4bed71542bcc4ba4ef7c0fc43c58108be1938 /llvm/lib/Analysis/PostDominators.cpp | |
parent | 50d602cda2ebfe90f231fdb37b6830f5db63c2b6 (diff) | |
download | bcm5719-llvm-b1ba352efac87bd6a5eaf1fe0b6e58f13a7ecbcd.tar.gz bcm5719-llvm-b1ba352efac87bd6a5eaf1fe0b6e58f13a7ecbcd.zip |
Force postdom to be linked into opt and bugpoint, even though it is no longer used by any passes.
llvm-svn: 51686
Diffstat (limited to 'llvm/lib/Analysis/PostDominators.cpp')
-rw-r--r-- | llvm/lib/Analysis/PostDominators.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp index cfa1b463295..3d3713b11d9 100644 --- a/llvm/lib/Analysis/PostDominators.cpp +++ b/llvm/lib/Analysis/PostDominators.cpp @@ -42,6 +42,10 @@ PostDominatorTree::~PostDominatorTree() delete DT; } +FunctionPass* llvm::createPostDomTree() { + return new PostDominatorTree(); +} + //===----------------------------------------------------------------------===// // PostDominanceFrontier Implementation //===----------------------------------------------------------------------===// @@ -84,3 +88,7 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT, return S; } + +FunctionPass* llvm::createPostDomFrontier() { + return new PostDominanceFrontier(); +}
\ No newline at end of file |