Skip to content

Commit b1fab4f

Browse files
authored
[LV][VPlan] Initialize the variable 'VPID' of the createEVLRecipe (#120926)
Resolve the compilation error caused by the merge issue: #119510
1 parent dd577c0 commit b1fab4f

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
@@ -1488,7 +1488,7 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
14881488
})
14891489
.Case<VPWidenIntrinsicRecipe, VPWidenCastRecipe>(
14901490
[&](auto *CR) -> VPRecipeBase * {
1491-
Intrinsic::ID VPID;
1491+
Intrinsic::ID VPID = Intrinsic::not_intrinsic;
14921492
if (auto *CallR = dyn_cast<VPWidenIntrinsicRecipe>(CR))
14931493
VPID =
14941494
VPIntrinsic::getForIntrinsic(CallR->getVectorIntrinsicID());

0 commit comments

Comments
 (0)