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 912cc5f commit 73c7ba2Copy full SHA for 73c7ba2
llvm/lib/Transforms/Vectorize/VPlan.cpp
@@ -308,11 +308,6 @@ Value *VPTransformState::get(const VPValue *Def, bool NeedsScalar) {
308
VPLane LastLane(IsSingleScalar ? 0 : VF.getFixedValue() - 1);
309
// Check if there is a scalar value for the selected lane.
310
if (!hasScalarValue(Def, LastLane)) {
311
- // At the moment, VPWidenIntOrFpInductionRecipes, VPScalarIVStepsRecipes and
312
- // VPExpandSCEVRecipes can also be a single scalar.
313
- assert((isa<VPWidenIntOrFpInductionRecipe, VPScalarIVStepsRecipe,
314
- VPExpandSCEVRecipe>(Def->getDefiningRecipe())) &&
315
- "unexpected recipe found to be invariant");
316
IsSingleScalar = true;
317
LastLane = 0;
318
}
0 commit comments