[llvm] 1d1cba4 - [VPlan] Remove stray indent when printing scalar steps recipe.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 17 02:18:47 PDT 2023
Author: Florian Hahn
Date: 2023-09-17T10:15:52+01:00
New Revision: 1d1cba44eab317a88e686b1a86da65754bd0537b
URL: https://github.com/llvm/llvm-project/commit/1d1cba44eab317a88e686b1a86da65754bd0537b
DIFF: https://github.com/llvm/llvm-project/commit/1d1cba44eab317a88e686b1a86da65754bd0537b.diff
LOG: [VPlan] Remove stray indent when printing scalar steps recipe.
VPScalarIVStepsRecipe will now be printed as
vp<%6> = SCALAR-STEPS vp<%3>, ir<1>
instead of
vp<%6> = SCALAR-STEPS vp<%3>, ir<1>
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
index fbb67fa3308d0fa..ee66735df2708ec 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -1089,7 +1089,7 @@ void VPScalarIVStepsRecipe::print(raw_ostream &O, const Twine &Indent,
VPSlotTracker &SlotTracker) const {
O << Indent;
printAsOperand(O, SlotTracker);
- O << Indent << "= SCALAR-STEPS ";
+ O << " = SCALAR-STEPS ";
printOperands(O, SlotTracker);
}
#endif
More information about the llvm-commits
mailing list