diff options
| author | Kazu Hirata <kazu@google.com> | 2025-11-22 15:30:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 15:30:28 -0800 |
| commit | 9de880e03076e7d9611a205974463465d47d3e21 (patch) | |
| tree | 10bbcf9db475d88c0d3962f60c2e8a7a801fd169 | |
| parent | c81a189c5083b72c128ec33cda8d39367c2e2f1f (diff) | |
[llvm] Remove unused local variables (NFC) (#169171)
Identified with bugprone-unused-local-non-trivial-variable.
| -rw-r--r-- | llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp | 1 | ||||
| -rw-r--r-- | llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp b/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp index c0e7609176a8..cceabd891d72 100644 --- a/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp +++ b/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp @@ -291,7 +291,6 @@ void DbgValueRangeTable::addVariable(Function *F, DebugVariableAggregate DVA) { // We don't have a single location for the variable's entire scope, so instead // we must now perform a liveness analysis to create a location list. - DenseMap<BasicBlock *, DbgValueDef> LiveInMap; SmallVector<DbgSSAPhi *> HypotheticalPHIs; DebugSSAUpdater SSAUpdater(&HypotheticalPHIs); SSAUpdater.initialize(); diff --git a/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp b/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp index f7364e0298d8..253d9df44421 100644 --- a/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp +++ b/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp @@ -146,7 +146,6 @@ void TargetLibraryInfoEmitter::emitTargetLibraryInfoSignatureTable( } return Sig; }; - DenseMap<unsigned, Signature> SignatureMap; Signature NoFuncSig({StringRef("Void")}); SignatureTable.add(NoFuncSig); for (const auto *R : AllTargetLibcalls) |
