[llvm] d328510 - [Instrumentation] Remove an unused local variable (NFC) (#138383)

via llvm-commits llvm-commits at lists.llvm.org
Sat May 3 07:04:36 PDT 2025


Author: Kazu Hirata
Date: 2025-05-03T07:04:33-07:00
New Revision: d328510f238cca5a95b75fcdaf9dfaddbc7d87c0

URL: https://github.com/llvm/llvm-project/commit/d328510f238cca5a95b75fcdaf9dfaddbc7d87c0
DIFF: https://github.com/llvm/llvm-project/commit/d328510f238cca5a95b75fcdaf9dfaddbc7d87c0.diff

LOG: [Instrumentation] Remove an unused local variable (NFC) (#138383)

Added: 
    

Modified: 
    llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
index b1d96db542ad2..034678527950d 100644
--- a/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
@@ -1938,8 +1938,6 @@ void InstrLowerer::emitVNodes() {
 }
 
 void InstrLowerer::emitNameData() {
-  std::string UncompressedData;
-
   if (ReferencedNames.empty())
     return;
 


        


More information about the llvm-commits mailing list