Skip to content

Commit 9de880e

Browse files
[llvm] Remove unused local variables (NFC) (#169171)
Identified with bugprone-unused-local-non-trivial-variable.
1 parent c81a189 commit 9de880e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ void DbgValueRangeTable::addVariable(Function *F, DebugVariableAggregate DVA) {
291291

292292
// We don't have a single location for the variable's entire scope, so instead
293293
// we must now perform a liveness analysis to create a location list.
294-
DenseMap<BasicBlock *, DbgValueDef> LiveInMap;
295294
SmallVector<DbgSSAPhi *> HypotheticalPHIs;
296295
DebugSSAUpdater SSAUpdater(&HypotheticalPHIs);
297296
SSAUpdater.initialize();

llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ void TargetLibraryInfoEmitter::emitTargetLibraryInfoSignatureTable(
146146
}
147147
return Sig;
148148
};
149-
DenseMap<unsigned, Signature> SignatureMap;
150149
Signature NoFuncSig({StringRef("Void")});
151150
SignatureTable.add(NoFuncSig);
152151
for (const auto *R : AllTargetLibcalls)

0 commit comments

Comments
 (0)