[llvm] 0bd8a75 - [VPlan] Fix formatting after 6a8d5f22f.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 15 14:33:43 PDT 2025


Author: Florian Hahn
Date: 2025-03-15T21:33:30Z
New Revision: 0bd8a75a0c8ce76fa36036d4de1979f777d44918

URL: https://github.com/llvm/llvm-project/commit/0bd8a75a0c8ce76fa36036d4de1979f777d44918
DIFF: https://github.com/llvm/llvm-project/commit/0bd8a75a0c8ce76fa36036d4de1979f777d44918.diff

LOG: [VPlan] Fix formatting after 6a8d5f22f.

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 e8c5b4823dcd2..c477070c8d95c 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -3333,8 +3333,10 @@ void VPWidenPointerInductionRecipe::execute(VPTransformState &State) {
   PHINode *NewPointerPhi = nullptr;
   if (CurrentPart == 0) {
     IRBuilder<>::InsertPointGuard Guard(State.Builder);
-    if (State.Builder.GetInsertPoint() != State.Builder.GetInsertBlock()->getFirstNonPHIIt())
-      State.Builder.SetInsertPoint(State.Builder.GetInsertBlock()->getFirstNonPHIIt());
+    if (State.Builder.GetInsertPoint() !=
+        State.Builder.GetInsertBlock()->getFirstNonPHIIt())
+      State.Builder.SetInsertPoint(
+          State.Builder.GetInsertBlock()->getFirstNonPHIIt());
     NewPointerPhi = State.Builder.CreatePHI(ScStValueType, 2, "pointer.phi");
     NewPointerPhi->addIncoming(ScalarStartValue, VectorPH);
     NewPointerPhi->setDebugLoc(getDebugLoc());


        


More information about the llvm-commits mailing list