Skip to content

Commit 89b158b

Browse files
committed
format
1 parent aec4b95 commit 89b158b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2782,8 +2782,7 @@ static Value *interleaveVectors(IRBuilderBase &Builder, ArrayRef<Value *> Vals,
27822782
SmallVector<Value *> InterleavingValues(Vals);
27832783
// When interleaving, the number of values will be shrunk until we have the
27842784
// single final interleaved value.
2785-
auto *InterleaveTy =
2786-
cast<VectorType>(InterleavingValues[0]->getType());
2785+
auto *InterleaveTy = cast<VectorType>(InterleavingValues[0]->getType());
27872786
for (unsigned Midpoint = Factor / 2; Midpoint > 0; Midpoint /= 2) {
27882787
InterleaveTy = VectorType::getDoubleElementsVectorType(InterleaveTy);
27892788
for (unsigned I = 0; I < Midpoint; ++I)
@@ -2936,7 +2935,8 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
29362935
// iteration.
29372936
// When deinterleaving, the number of values will double until we
29382937
// have "InterleaveFactor".
2939-
for (unsigned NumVectors = 1; NumVectors < InterleaveFactor; NumVectors *= 2) {
2938+
for (unsigned NumVectors = 1; NumVectors < InterleaveFactor;
2939+
NumVectors *= 2) {
29402940
// Deinterleave the elements within the vector
29412941
SmallVector<Value *> TempDeinterleavedValues(NumVectors);
29422942
for (unsigned I = 0; I < NumVectors; ++I) {

0 commit comments

Comments
 (0)