summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2016-02-25 16:33:06 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2016-02-25 16:33:06 +0000
commita0273a04f53e89c6ef771a73ddedc4c25bbf62d9 (patch)
treeacc9cc0cde44a120159c5678c46f6adcdb8f51cc /llvm/lib/CodeGen
parent148445ef985eedf7d2d05467b5b8d634fc156bd6 (diff)
downloadbcm5719-llvm-a0273a04f53e89c6ef771a73ddedc4c25bbf62d9.tar.gz
bcm5719-llvm-a0273a04f53e89c6ef771a73ddedc4c25bbf62d9.zip
Introduce analysis pass to compute PostDominators in the new pass manager. NFC
Differential Revision: http://reviews.llvm.org/D17537 llvm-svn: 261882
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineRegionInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineRegionInfo.cpp b/llvm/lib/CodeGen/MachineRegionInfo.cpp
index 7d61792ff68..0f7ebb3da83 100644
--- a/llvm/lib/CodeGen/MachineRegionInfo.cpp
+++ b/llvm/lib/CodeGen/MachineRegionInfo.cpp
@@ -104,7 +104,7 @@ void MachineRegionInfoPass::verifyAnalysis() const {
void MachineRegionInfoPass::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequiredTransitive<DominatorTreeWrapperPass>();
- AU.addRequired<PostDominatorTree>();
+ AU.addRequired<PostDominatorTreeWrapperPass>();
AU.addRequired<DominanceFrontier>();
}
OpenPOWER on IntegriCloud