Skip to content

Commit bf16a26

Browse files
committed
[LV][VPlan] Initialize the variable 'VPID' of the createEVLRecipe
Resolve the compilation error caused by the merge issue: llvm#119510
1 parent 8a51471 commit bf16a26

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)