File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1483,8 +1483,8 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
1483
1483
auto *CI = dyn_cast<CallInst>(CInst->getUnderlyingInstr ());
1484
1484
Intrinsic::ID VPID = VPIntrinsic::getForIntrinsic (
1485
1485
CI->getCalledFunction ()->getIntrinsicID ());
1486
- assert (VPID != Intrinsic::not_intrinsic &&
1487
- VPIntrinsic::getMaskParamPos (VPID) &&
1486
+ assert (VPID != Intrinsic::not_intrinsic && " Expected VP intrinsic " );
1487
+ assert ( VPIntrinsic::getMaskParamPos (VPID) &&
1488
1488
VPIntrinsic::getVectorLengthParamPos (VPID) &&
1489
1489
" Expected VP intrinsic" );
1490
1490
@@ -1499,9 +1499,10 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
1499
1499
auto *CI = dyn_cast<CastInst>(CInst->getUnderlyingInstr ());
1500
1500
Intrinsic::ID VPID = VPIntrinsic::getForOpcode (CI->getOpcode ());
1501
1501
assert (VPID != Intrinsic::not_intrinsic &&
1502
- VPIntrinsic::getMaskParamPos (VPID) &&
1502
+ " Expected vp.casts Instrinsic" );
1503
+ assert (VPIntrinsic::getMaskParamPos (VPID) &&
1503
1504
VPIntrinsic::getVectorLengthParamPos (VPID) &&
1504
- " Expected vp.cast intrinsic" );
1505
+ " Expected VP intrinsic" );
1505
1506
1506
1507
SmallVector<VPValue *> Ops (CInst->operands ());
1507
1508
Ops.push_back (&AllOneMask);
You can’t perform that action at this time.
0 commit comments