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,
14831483 auto *CI = dyn_cast<CallInst>(CInst->getUnderlyingInstr ());
14841484 Intrinsic::ID VPID = VPIntrinsic::getForIntrinsic (
14851485 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) &&
14881488 VPIntrinsic::getVectorLengthParamPos (VPID) &&
14891489 " Expected VP intrinsic" );
14901490
@@ -1499,9 +1499,10 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
14991499 auto *CI = dyn_cast<CastInst>(CInst->getUnderlyingInstr ());
15001500 Intrinsic::ID VPID = VPIntrinsic::getForOpcode (CI->getOpcode ());
15011501 assert (VPID != Intrinsic::not_intrinsic &&
1502- VPIntrinsic::getMaskParamPos (VPID) &&
1502+ " Expected vp.casts Instrinsic" );
1503+ assert (VPIntrinsic::getMaskParamPos (VPID) &&
15031504 VPIntrinsic::getVectorLengthParamPos (VPID) &&
1504- " Expected vp.cast intrinsic" );
1505+ " Expected VP intrinsic" );
15051506
15061507 SmallVector<VPValue *> Ops (CInst->operands ());
15071508 Ops.push_back (&AllOneMask);
You can’t perform that action at this time.
0 commit comments