[llvm] f6d9f00 - [DebugInfo] Test commit: update irrelevant comments
Vladislav Dzhidzhoev via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 10:22:12 PDT 2022
Author: Vladislav Dzhidzhoev
Date: 2022-08-02T20:21:24+03:00
New Revision: f6d9f000312bcabeafd305c2925547e0012eaa52
URL: https://github.com/llvm/llvm-project/commit/f6d9f000312bcabeafd305c2925547e0012eaa52
DIFF: https://github.com/llvm/llvm-project/commit/f6d9f000312bcabeafd305c2925547e0012eaa52.diff
LOG: [DebugInfo] Test commit: update irrelevant comments
Differential Revision: https://reviews.llvm.org/D130998
Added:
Modified:
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/Utils/Local.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/Local.h b/llvm/include/llvm/Transforms/Utils/Local.h
index 946fc84b9a2cc..4db697c1ffcec 100644
--- a/llvm/include/llvm/Transforms/Utils/Local.h
+++ b/llvm/include/llvm/Transforms/Utils/Local.h
@@ -286,7 +286,6 @@ void salvageDebugInfo(Instruction &I);
/// Implementation of salvageDebugInfo, applying only to instructions in
/// \p Insns, rather than all debug users from findDbgUsers( \p I).
-/// Returns true if any debug users were updated.
/// Mark undef if salvaging cannot be completed.
void salvageDebugInfoForDbgValues(Instruction &I,
ArrayRef<DbgVariableIntrinsic *> Insns);
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 2f1d0c2f9012c..c5f7a374c4ef6 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -1735,8 +1735,8 @@ void llvm::replaceDbgValueForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
replaceOneDbgValueForAlloca(DVI, NewAllocaAddress, Builder, Offset);
}
-/// Where possible to salvage debug information for \p I do so
-/// and return True. If not possible mark undef and return False.
+/// Where possible to salvage debug information for \p I do so.
+/// If not possible mark undef.
void llvm::salvageDebugInfo(Instruction &I) {
SmallVector<DbgVariableIntrinsic *, 1> DbgUsers;
findDbgUsers(DbgUsers, &I);
More information about the llvm-commits
mailing list