Skip to content

Commit cf73213

Browse files
committed
Rename CInst -> CastR
1 parent 4335c21 commit cf73213

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,13 +1505,13 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
15051505
CInst->getDebugLoc());
15061506
})
15071507
.Case<VPWidenCastRecipe>(
1508-
[&](VPWidenCastRecipe *CInst) -> VPRecipeBase * {
1508+
[&](VPWidenCastRecipe *CastR) -> VPRecipeBase * {
15091509
Intrinsic::ID VPID =
1510-
VPIntrinsic::getForOpcode(CInst->getOpcode());
1510+
VPIntrinsic::getForOpcode(CastR->getOpcode());
15111511
assert(VPID != Intrinsic::not_intrinsic &&
15121512
"Expected vp.casts Instrinsic");
15131513

1514-
SmallVector<VPValue *> Ops(CInst->operands());
1514+
SmallVector<VPValue *> Ops(CastR->operands());
15151515
assert(VPIntrinsic::getMaskParamPos(VPID) &&
15161516
VPIntrinsic::getVectorLengthParamPos(VPID) &&
15171517
"Expected VP intrinsic");
@@ -1520,8 +1520,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
15201520
Ops.push_back(Mask);
15211521
Ops.push_back(&EVL);
15221522
return new VPWidenIntrinsicRecipe(
1523-
VPID, Ops, TypeInfo.inferScalarType(CInst),
1524-
CInst->getDebugLoc());
1523+
VPID, Ops, TypeInfo.inferScalarType(CastR),
1524+
CastR->getDebugLoc());
15251525
})
15261526
.Case<VPWidenSelectRecipe>([&](VPWidenSelectRecipe *Sel) {
15271527
SmallVector<VPValue *> Ops(Sel->operands());

0 commit comments

Comments
 (0)