Skip to content

Commit d56d3d7

Browse files
committed
Fix after #153735
1 parent 16314eb commit d56d3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/ProfDataUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ SmallVector<uint32_t> downscaleWeights(ArrayRef<uint64_t> Weights,
276276
: *llvm::max_element(Weights);
277277
assert(MaxCount > 0 && "Bad max count");
278278
uint64_t Scale = calculateCountScale(MaxCount);
279-
SmallVector<unsigned, 4> DownscaledWeights;
279+
SmallVector<unsigned> DownscaledWeights;
280280
for (const auto &ECI : Weights)
281281
DownscaledWeights.push_back(scaleBranchCount(ECI, Scale));
282282
return DownscaledWeights;

0 commit comments

Comments
 (0)