We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f81ee commit 0cccb2dCopy full SHA for 0cccb2d
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -3548,6 +3548,8 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
3548
// Vectorize the interleaved store group.
3549
Value *MaskForGaps =
3550
createBitMaskForGaps(State.Builder, State.VF.getKnownMinValue(), *Group);
3551
+ assert(((MaskForGaps != nullptr) == NeedsMaskForGaps) &&
3552
+ "Mismatch between NeedsMaskForGaps and MaskForGaps");
3553
assert((!MaskForGaps || !State.VF.isScalable()) &&
3554
"masking gaps for scalable vectors is not yet supported.");
3555
ArrayRef<VPValue *> StoredValues = getStoredValues();
0 commit comments