Skip to content

Commit

Permalink
[LV][VPlan] Initialize the variable 'VPID' of the createEVLRecipe (ll…
Browse files Browse the repository at this point in the history
…vm#120926)

Resolve the compilation error caused by the merge issue: llvm#119510
  • Loading branch information
LiqinWeng authored Dec 23, 2024
1 parent dd577c0 commit b1fab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
})
.Case<VPWidenIntrinsicRecipe, VPWidenCastRecipe>(
[&](auto *CR) -> VPRecipeBase * {
Intrinsic::ID VPID;
Intrinsic::ID VPID = Intrinsic::not_intrinsic;
if (auto *CallR = dyn_cast<VPWidenIntrinsicRecipe>(CR))
VPID =
VPIntrinsic::getForIntrinsic(CallR->getVectorIntrinsicID());
Expand Down

0 comments on commit b1fab4f

Please sign in to comment.