[llvm] 5064a5b - [IR] Remove a redundant control flow statement (NFC) (#144100)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 13:16:34 PDT 2025
Author: Kazu Hirata
Date: 2025-06-13T13:16:31-07:00
New Revision: 5064a5bc3e958aeb18bf3f8c7144c99cc3103a91
URL: https://github.com/llvm/llvm-project/commit/5064a5bc3e958aeb18bf3f8c7144c99cc3103a91
DIFF: https://github.com/llvm/llvm-project/commit/5064a5bc3e958aeb18bf3f8c7144c99cc3103a91.diff
LOG: [IR] Remove a redundant control flow statement (NFC) (#144100)
Added:
Modified:
llvm/lib/IR/DebugInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 9527c3e0b5d67..e6b1f76dfacf6 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -2127,7 +2127,6 @@ static void emitDbgAssign(AssignmentInfo Info, Value *Val, Value *Dest,
&StoreLikeInst, Val, VarRec.Var, Expr, Dest, AddrExpr, VarRec.DL);
(void)Assign;
LLVM_DEBUG(if (Assign) errs() << " > INSERT: " << *Assign << "\n");
- return;
}
#undef DEBUG_TYPE // Silence redefinition warning (from ConstantsContext.h).
More information about the llvm-commits
mailing list