diff options
author | Vladimir Vereschaka <vvereschaka@accesssoftek.com> | 2019-10-20 20:39:33 +0000 |
---|---|---|
committer | Vladimir Vereschaka <vvereschaka@accesssoftek.com> | 2019-10-20 20:39:33 +0000 |
commit | 92c96c7bc0b456cbc32da97df52b1acec238be9f (patch) | |
tree | 2484a6598ff22bf44c2ee730d359f6647bbd9789 /llvm/lib/CodeGen/MachineDominators.cpp | |
parent | b1b7a2f7b63db915fbc0e7ee5e1811b8846fbd9b (diff) | |
download | bcm5719-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.cpp | 6 |
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() |