[llvm] 6c1cf20 - [NFC] Missing whitespace in SSAUpdaterBulk debug output.
Thomas Symalla via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 01:15:30 PST 2023
Author: Thomas Symalla
Date: 2023-01-09T10:15:25+01:00
New Revision: 6c1cf201be158b56e50b3f96fc61b8b2867a0017
URL: https://github.com/llvm/llvm-project/commit/6c1cf201be158b56e50b3f96fc61b8b2867a0017
DIFF: https://github.com/llvm/llvm-project/commit/6c1cf201be158b56e50b3f96fc61b8b2867a0017.diff
LOG: [NFC] Missing whitespace in SSAUpdaterBulk debug output.
Adds a whitespace in a debug message before printing out a
value in the SSAUpdaterBulk.
Without this, debugging can end up a bit cumbersome.
Differential Revision: https://reviews.llvm.org/D141262
Added:
Modified:
llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp b/llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
index 7de76b86817b3..cad7ff64c01fb 100644
--- a/llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
+++ b/llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp
@@ -51,7 +51,7 @@ unsigned SSAUpdaterBulk::AddVariable(StringRef Name, Type *Ty) {
void SSAUpdaterBulk::AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V) {
assert(Var < Rewrites.size() && "Variable not found!");
LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var
- << ": added new available value" << *V << " in "
+ << ": added new available value " << *V << " in "
<< BB->getName() << "\n");
Rewrites[Var].Defines[BB] = V;
}
More information about the llvm-commits
mailing list