[llvm] 390c0ac - [LV] Fix indentation in tryToCreateWidenRecipe (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 00:53:52 PDT 2022
Author: Florian Hahn
Date: 2022-05-26T08:53:34+01:00
New Revision: 390c0ac28db3557cad391b99ede20cd168c2dc30
URL: https://github.com/llvm/llvm-project/commit/390c0ac28db3557cad391b99ede20cd168c2dc30
DIFF: https://github.com/llvm/llvm-project/commit/390c0ac28db3557cad391b99ede20cd168c2dc30.diff
LOG: [LV] Fix indentation in tryToCreateWidenRecipe (NFC).
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index beddc3ee25173..1a0dea02b340d 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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) &&
More information about the llvm-commits
mailing list