aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 00:26:37 -0700
committerGitHub <noreply@github.com>2025-05-04 00:26:37 -0700
commit47f391fd0e1d9ae6a91e625cff5490dd89a8a17e (patch)
tree53edc7ecf969122f6621825546dc4ece529cdfb5 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parenta9699a334bc9666570418a3bed9520bcdc21518b (diff)
downloadllvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.zip
llvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.tar.gz
llvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.tar.bz2
[CodeGen] Remove unused local variables (NFC) (#138441)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index 36e53c8..f12f437 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -1127,7 +1127,6 @@ void UserValue::computeIntervals(MachineRegisterInfo &MRI,
SlotIndex Idx = Defs[i].first;
DbgVariableValue DbgValue = Defs[i].second;
SmallDenseMap<unsigned, std::pair<LiveRange *, const VNInfo *>> LIs;
- SmallVector<const VNInfo *, 4> VNIs;
bool ShouldExtendDef = false;
for (unsigned LocNo : DbgValue.loc_nos()) {
const MachineOperand &LocMO = locations[LocNo];