mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Force postdom to be linked into opt and bugpoint, even though it is no longer used by any passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8cacfebb8e
commit
5771d6c16d
@ -62,6 +62,7 @@ struct PostDominatorTree : public FunctionPass {
|
||||
}
|
||||
};
|
||||
|
||||
FunctionPass* createPostDomTree();
|
||||
|
||||
/// PostDominanceFrontier Class - Concrete subclass of DominanceFrontier that is
|
||||
/// used to compute the a post-dominance frontier.
|
||||
@ -90,6 +91,8 @@ private:
|
||||
const DomTreeNode *Node);
|
||||
};
|
||||
|
||||
FunctionPass* createPostDomFrontier();
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -116,6 +116,8 @@ namespace {
|
||||
(void) llvm::createGVNPass();
|
||||
(void) llvm::createMemCpyOptPass();
|
||||
(void) llvm::createLoopDeletionPass();
|
||||
(void) llvm::createPostDomTree();
|
||||
(void) llvm::createPostDomFrontier();
|
||||
|
||||
(void)new llvm::IntervalPartition();
|
||||
(void)new llvm::FindUsedTypes();
|
||||
|
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user