Skip to content

Commit 29a79f1

Browse files
Make getSmallConstantTripCount a static function.
1 parent 8af01ca commit 29a79f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ static bool hasIrregularType(Type *Ty, const DataLayout &DL) {
421421

422422
/// A version of ScalarEvolution::getSmallConstantTripCount that returns an
423423
/// ElementCount to include loops whose trip count is a function of vscale.
424-
ElementCount getSmallConstantTripCount(ScalarEvolution *SE, const Loop *L) {
424+
static ElementCount getSmallConstantTripCount(ScalarEvolution *SE,
425+
const Loop *L) {
425426
return ElementCount::getFixed(SE->getSmallConstantTripCount(L));
426427
}
427428

0 commit comments

Comments
 (0)