[llvm] a4ffa1f - [Instrumentation] Remove a redundant control flow statement (NFC) (#165510)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 07:36:09 PDT 2025


Author: Kazu Hirata
Date: 2025-10-29T07:36:05-07:00
New Revision: a4ffa1f3d53c8d0ae7141da3c508ec1c549f7ddc

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

LOG: [Instrumentation] Remove a redundant control flow statement (NFC) (#165510)

Added: 
    

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

Removed: 
    


################################################################################
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