[llvm] 2dfe1b4 - [VPlan] Remove stray space when printing reverse vector pointer.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 26 13:30:07 PST 2024


Author: Florian Hahn
Date: 2024-12-26T21:26:17Z
New Revision: 2dfe1b404213c6676b9ac55cb89c0a709a712208

URL: https://github.com/llvm/llvm-project/commit/2dfe1b404213c6676b9ac55cb89c0a709a712208
DIFF: https://github.com/llvm/llvm-project/commit/2dfe1b404213c6676b9ac55cb89c0a709a712208.diff

LOG: [VPlan] Remove stray space when printing reverse vector pointer.

printFlags() takes care of printing the required space, remove the extra
printed space between flags and operands.

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 36a5d3be113ba0..86262e6b9f94ee 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -2061,7 +2061,6 @@ void VPReverseVectorPointerRecipe::print(raw_ostream &O, const Twine &Indent,
   printAsOperand(O, SlotTracker);
   O << " = reverse-vector-pointer";
   printFlags(O);
-  O << " ";
   printOperands(O, SlotTracker);
 }
 #endif


        


More information about the llvm-commits mailing list