diff options
author | paperchalice <liujunchang97@outlook.com> | 2024-06-11 21:27:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 21:27:14 +0800 |
commit | 837dc542b1519df343e5a8f7b2718483530a4193 (patch) | |
tree | ea90fd5268cdd1e5dccfe50c4f2f6c62c9fda100 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 2b15fb16cee05e6fe56edc6bc24d4d31df48a115 (diff) | |
download | llvm-837dc542b1519df343e5a8f7b2718483530a4193.zip llvm-837dc542b1519df343e5a8f7b2718483530a4193.tar.gz llvm-837dc542b1519df343e5a8f7b2718483530a4193.tar.bz2 |
[CodeGen][NewPM] Split `MachineDominatorTree` into a concrete analysis result (#94571)
Prepare for new pass manager version of `MachineDominatorTreeAnalysis`.
We may need a machine dominator tree version of `DomTreeUpdater` to
handle `SplitCriticalEdge` in some CodeGen passes.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 3a59ae7..16d8e91 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -78,13 +78,13 @@ char LiveDebugVariables::ID = 0; INITIALIZE_PASS_BEGIN(LiveDebugVariables, DEBUG_TYPE, "Debug Variable Analysis", false, false) -INITIALIZE_PASS_DEPENDENCY(MachineDominatorTree) +INITIALIZE_PASS_DEPENDENCY(MachineDominatorTreeWrapperPass) INITIALIZE_PASS_DEPENDENCY(LiveIntervals) INITIALIZE_PASS_END(LiveDebugVariables, DEBUG_TYPE, "Debug Variable Analysis", false, false) void LiveDebugVariables::getAnalysisUsage(AnalysisUsage &AU) const { - AU.addRequired<MachineDominatorTree>(); + AU.addRequired<MachineDominatorTreeWrapperPass>(); AU.addRequiredTransitive<LiveIntervals>(); AU.setPreservesAll(); MachineFunctionPass::getAnalysisUsage(AU); |