diff --git a/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp b/llvm/lib/Transforms/Utils/DebugSSAUpdater.cpp index c0e7609176a83..cceabd891d72c 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 LiveInMap; SmallVector HypotheticalPHIs; DebugSSAUpdater SSAUpdater(&HypotheticalPHIs); SSAUpdater.initialize(); diff --git a/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp b/llvm/utils/TableGen/Basic/TargetLibraryInfoEmitter.cpp index f7364e0298d89..253d9df44421a 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 SignatureMap; Signature NoFuncSig({StringRef("Void")}); SignatureTable.add(NoFuncSig); for (const auto *R : AllTargetLibcalls)