aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-07-11 09:13:37 +0200
committerNikita Popov <npopov@redhat.com>2024-07-11 09:13:37 +0200
commit6a907699d8b4fb35a843ab8fd84ca56ed93fc201 (patch)
tree701af32d40c315b70f40dca3e07f1fe2ddc44818 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent7868033d2e846fa30c20455ca819fad29d9d795e (diff)
downloadllvm-6a907699d8b4fb35a843ab8fd84ca56ed93fc201.zip
llvm-6a907699d8b4fb35a843ab8fd84ca56ed93fc201.tar.gz
llvm-6a907699d8b4fb35a843ab8fd84ca56ed93fc201.tar.bz2
Revert "[CodeGen] Remove `applySplitCriticalEdges` in `MachineDominatorTree` (#97055)"
This reverts commit c5e5088033fed170068d818c54af6862e449b545. Causes large compile-time regressions.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 98099ac..555cbb7 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -2754,7 +2754,7 @@ void InstrRefBasedLDV::BlockPHIPlacement(
// Apply IDF calculator to the designated set of location defs, storing
// required PHIs into PHIBlocks. Uses the dominator tree stored in the
// InstrRefBasedLDV object.
- IDFCalculatorBase<MachineBasicBlock, false> IDF(*DomTree);
+ IDFCalculatorBase<MachineBasicBlock, false> IDF(DomTree->getBase());
IDF.setLiveInBlocks(AllBlocks);
IDF.setDefiningBlocks(DefBlocks);