Skip to content

Commit 54af7d2

Browse files
committed
auto -> ElementCount
1 parent f5d5ed6 commit 54af7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5029,7 +5029,7 @@ calculateRegisterUsage(VPlan &Plan, ArrayRef<ElementCount> VFs,
50295029
} else {
50305030
// The output from scaled phis and scaled reductions actually have
50315031
// fewer lanes than the VF.
5032-
auto VF = VFs[J];
5032+
ElementCount VF = VFs[J];
50335033
if (auto *ReductionR = dyn_cast<VPReductionPHIRecipe>(R))
50345034
VF = VF.divideCoefficientBy(ReductionR->getVFScaleFactor());
50355035
else if (auto *PartialReductionR =

0 commit comments

Comments
 (0)