Skip to content

Commit 2f0d326

Browse files
authored
[NFC][VPlan] Trim extra spaces in VPDerivedIVRecipe::print during debugging (#106041)
before: ``` EMIT vp<%3> = CANONICAL-INDUCTION ir<0>, vp<%8> vp<%4> = DERIVED-IV ir<%n> + vp<%3> * ir<-1> vp<%5> = SCALAR-STEPS vp<%4>, ir<-1> ``` after: ``` EMIT vp<%3> = CANONICAL-INDUCTION ir<0>, vp<%8> vp<%4> = DERIVED-IV ir<%n> + vp<%3> * ir<-1> vp<%5> = SCALAR-STEPS vp<%4>, ir<-1> ```
1 parent b74248d commit 2f0d326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ void VPDerivedIVRecipe::print(raw_ostream &O, const Twine &Indent,
14551455
VPSlotTracker &SlotTracker) const {
14561456
O << Indent;
14571457
printAsOperand(O, SlotTracker);
1458-
O << Indent << "= DERIVED-IV ";
1458+
O << " = DERIVED-IV ";
14591459
getStartValue()->printAsOperand(O, SlotTracker);
14601460
O << " + ";
14611461
getOperand(1)->printAsOperand(O, SlotTracker);

0 commit comments

Comments
 (0)