[llvm] [Instrumentation] Remove an unused local variable (NFC) (PR #138383)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 2 23:44:15 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138383.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp (-2)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/138383
More information about the llvm-commits
mailing list