[llvm] [VPlan] Format some print forms.NFC (PR #144644)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 23:44:46 PDT 2025
https://github.com/LiqinWeng created https://github.com/llvm/llvm-project/pull/144644
None
>From b3967072efa56f0bb9fb4683ec56ca1783f5e86d Mon Sep 17 00:00:00 2001
From: LiqinWeng <liqin.weng at spacemit.com>
Date: Thu, 29 May 2025 17:26:58 +0800
Subject: [PATCH] [VPlan] Format some print forms.NFC
---
llvm/lib/Transforms/Vectorize/VPlan.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.cpp b/llvm/lib/Transforms/Vectorize/VPlan.cpp
index 4332332ef5cc3..00ea2c70637bc 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -466,7 +466,7 @@ void VPBasicBlock::connectToPredecessors(VPTransformState &State) {
"Predecessor basic-block not found building successor.");
BasicBlock *PredBB = CFG.VPBB2IRBB[PredVPBB];
auto *PredBBTerminator = PredBB->getTerminator();
- LLVM_DEBUG(dbgs() << "LV: draw edge from" << PredBB->getName() << '\n');
+ LLVM_DEBUG(dbgs() << "LV: draw edge from " << PredBB->getName() << '\n');
auto *TermBr = dyn_cast<BranchInst>(PredBBTerminator);
if (isa<UnreachableInst>(PredBBTerminator)) {
@@ -580,8 +580,8 @@ VPBasicBlock *VPBasicBlock::clone() {
}
void VPBasicBlock::executeRecipes(VPTransformState *State, BasicBlock *BB) {
- LLVM_DEBUG(dbgs() << "LV: vectorizing VPBB:" << getName()
- << " in BB:" << BB->getName() << '\n');
+ LLVM_DEBUG(dbgs() << "LV: vectorizing VPBB: " << getName()
+ << " in BB: " << BB->getName() << '\n');
State->CFG.PrevVPBB = this;
@@ -590,7 +590,7 @@ void VPBasicBlock::executeRecipes(VPTransformState *State, BasicBlock *BB) {
Recipe.execute(*State);
}
- LLVM_DEBUG(dbgs() << "LV: filled BB:" << *BB);
+ LLVM_DEBUG(dbgs() << "LV: filled BB: " << *BB);
}
VPBasicBlock *VPBasicBlock::splitAt(iterator SplitAt) {
More information about the llvm-commits
mailing list