summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominators.cpp
diff options
context:
space:
mode:
authorVladimir Vereschaka <vvereschaka@accesssoftek.com>2019-10-20 20:39:33 +0000
committerVladimir Vereschaka <vvereschaka@accesssoftek.com>2019-10-20 20:39:33 +0000
commit92c96c7bc0b456cbc32da97df52b1acec238be9f (patch)
tree2484a6598ff22bf44c2ee730d359f6647bbd9789 /llvm/lib/CodeGen/MachineDominators.cpp
parentb1b7a2f7b63db915fbc0e7ee5e1811b8846fbd9b (diff)
downloadbcm5719-llvm-92c96c7bc0b456cbc32da97df52b1acec238be9f.tar.gz
bcm5719-llvm-92c96c7bc0b456cbc32da97df52b1acec238be9f.zip
Reverted r375254 as it has broken some build bots for a long time.
llvm-svn: 375375
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDominators.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineDominators.cpp b/llvm/lib/CodeGen/MachineDominators.cpp
index 0d57bca37d9..706c706d752 100644
--- a/llvm/lib/CodeGen/MachineDominators.cpp
+++ b/llvm/lib/CodeGen/MachineDominators.cpp
@@ -49,15 +49,11 @@ void MachineDominatorTree::getAnalysisUsage(AnalysisUsage &AU) const {
}
bool MachineDominatorTree::runOnMachineFunction(MachineFunction &F) {
- calculate(F);
- return false;
-}
-
-void MachineDominatorTree::calculate(MachineFunction &F) {
CriticalEdgesToSplit.clear();
NewBBs.clear();
DT.reset(new DomTreeBase<MachineBasicBlock>());
DT->recalculate(F);
+ return false;
}
MachineDominatorTree::MachineDominatorTree()
OpenPOWER on IntegriCloud