[llvm] [Instrumentation] Remove a redundant control flow statement (NFC) (PR #165510)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 28 22:12:32 PDT 2025
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/165510
None
>From 17f322c5ceec7e20944c82d98dccdd7a7063bc20 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sun, 26 Oct 2025 23:16:11 -0700
Subject: [PATCH] [Instrumentation] Remove a redundant control flow statement
(NFC)
---
llvm/lib/Transforms/Instrumentation/MemProfUse.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/llvm/lib/Transforms/Instrumentation/MemProfUse.cpp b/llvm/lib/Transforms/Instrumentation/MemProfUse.cpp
index a6ec6c1207767..2f256dfd7b0e2 100644
--- a/llvm/lib/Transforms/Instrumentation/MemProfUse.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemProfUse.cpp
@@ -216,7 +216,6 @@ static void HandleUnsupportedAnnotationKinds(GlobalVariable &GVar,
}
LLVM_DEBUG(dbgs() << "Skip annotation for " << GVar.getName() << " due to "
<< Reason << ".\n");
- return;
}
struct AllocMatchInfo {
More information about the llvm-commits
mailing list