[LV] Fix indentation in tryToCreateWidenRecipe (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 26 May 2022 07:53:33 +0000 (08:53 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 26 May 2022 07:53:34 +0000 (08:53 +0100)
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index beddc3e..1a0dea0 100644 (file)
@@ -8572,12 +8572,12 @@ VPRecipeBuilder::tryToCreateWidenRecipe(Instruction *Instr,
       PhiRecipe = new VPFirstOrderRecurrencePHIRecipe(Phi, *StartV);
     }
 
-      // Record the incoming value from the backedge, so we can add the incoming
-      // value from the backedge after all recipes have been created.
-      recordRecipeOf(cast<Instruction>(
-          Phi->getIncomingValueForBlock(OrigLoop->getLoopLatch())));
-      PhisToFix.push_back(PhiRecipe);
-      return toVPRecipeResult(PhiRecipe);
+    // Record the incoming value from the backedge, so we can add the incoming
+    // value from the backedge after all recipes have been created.
+    recordRecipeOf(cast<Instruction>(
+        Phi->getIncomingValueForBlock(OrigLoop->getLoopLatch())));
+    PhisToFix.push_back(PhiRecipe);
+    return toVPRecipeResult(PhiRecipe);
   }
 
   if (isa<TruncInst>(Instr) &&