Skip to content

Commit 68f81ee

Browse files
committed
apply isFull
1 parent 51b6f48 commit 68f81ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ void VPlanTransforms::createInterleaveGroups(
24942494

24952495
bool NeedsMaskForGaps =
24962496
(IG->requiresScalarEpilogue() && !ScalarEpilogueAllowed) ||
2497-
(!StoredValues.empty() && (IG->getNumMembers() < IG->getFactor()));
2497+
(!StoredValues.empty() && !IG->isFull());
24982498

24992499
Instruction *IRInsertPos = IG->getInsertPos();
25002500
auto *InsertPos =

0 commit comments

Comments
 (0)