Skip to content

Commit ef2e776

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

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

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

0 commit comments

Comments
 (0)