aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2022-06-20 16:39:28 +0100
committerStephen Tozer <stephen.tozer@sony.com>2022-08-23 20:17:09 +0100
commit2cb9e1ac422f46de0ab728c6c9d50ebafbfe372a (patch)
tree11b9ef21947f1f0c86739059d17c5c6a0c26f6c7 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent2b8f722e630d0fdf1ca267361866a27c8d4c9387 (diff)
downloadllvm-2cb9e1ac422f46de0ab728c6c9d50ebafbfe372a.zip
llvm-2cb9e1ac422f46de0ab728c6c9d50ebafbfe372a.tar.gz
llvm-2cb9e1ac422f46de0ab728c6c9d50ebafbfe372a.tar.bz2
[DebugInfo] Extend the InstrRef LDV to support DbgValues with many Ops
This patch builds on prior support patches to enable support for variadic debug values in InstrRefLDV, allowing DBG_VALUE_LISTs to have their ranges extended. Differential Revision: https://reviews.llvm.org/D128212
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 9aea790..27a5a30 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -1341,19 +1341,6 @@ bool InstrRefBasedLDV::transferDebugValue(const MachineInstr &MI) {
if (Scope == nullptr)
return true; // handled it; by doing nothing
- // For now, ignore DBG_VALUE_LISTs when extending ranges. Allow it to
- // contribute to locations in this block, but don't propagate further.
- // Interpret it like a DBG_VALUE $noreg.
- if (MI.isDebugValueList()) {
- SmallVector<DbgOpID> EmptyDebugOps;
- SmallVector<ResolvedDbgOp> EmptyResolvedDebugOps;
- if (VTracker)
- VTracker->defVar(MI, Properties, EmptyDebugOps);
- if (TTracker)
- TTracker->redefVar(MI, Properties, EmptyResolvedDebugOps);
- return true;
- }
-
// MLocTracker needs to know that this register is read, even if it's only
// read by a debug inst.
for (const MachineOperand &MO : MI.debug_operands())