Skip to content

Commit a80f972

Browse files
NexMingMel-Chen
andauthored
Update llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Co-authored-by: Mel Chen <[email protected]>
1 parent 194b50e commit a80f972

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
@@ -2435,7 +2435,7 @@ InnerLoopVectorizer::getOrCreateVectorTripCount(BasicBlock *InsertBlock) {
24352435
assert(!Cost->requiresScalarEpilogue(true) &&
24362436
"Use predicated EVL instructions for tail-folding does not allow "
24372437
"scalar epilogue");
2438-
return TC;
2438+
return VectorTripCount = TC;
24392439
}
24402440

24412441
// This is where we can make the step a runtime constant.

0 commit comments

Comments
 (0)