aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2023-12-12 11:32:19 +0000
committerGitHub <noreply@github.com>2023-12-12 11:32:19 +0000
commit5ee088134fb87f7d716c58fa65beb11fb6afcb22 (patch)
tree9e2783d4d2cd01126d43304f160348340ffe65f6 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
parentb204321302ad16d2a1bdb97830a5708282d0abd4 (diff)
downloadllvm-5ee088134fb87f7d716c58fa65beb11fb6afcb22.zip
llvm-5ee088134fb87f7d716c58fa65beb11fb6afcb22.tar.gz
llvm-5ee088134fb87f7d716c58fa65beb11fb6afcb22.tar.bz2
[DebugInfo][RemoveDIs] Handle dbg.declares in SelectionDAGISel (#73496)
This is a boring mechanical update to support DPValues that look like dbg.declares in SelectionDAG. The tests will become "live" once #74090 lands (see for more info).
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
index 1128ecf..03cba89 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@ -357,6 +357,7 @@ void FunctionLoweringInfo::clear() {
StatepointRelocationMaps.clear();
PreferredExtendType.clear();
PreprocessedDbgDeclares.clear();
+ PreprocessedDPVDeclares.clear();
}
/// CreateReg - Allocate a single virtual register for the given type.