Skip to content

Commit da5ff53

Browse files
committed
Revert the rename change
1 parent 9310d6b commit da5ff53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,8 +1058,7 @@ static VPValue *tryToFoldLiveIns(VPSingleDefRecipe &R,
10581058
}
10591059

10601060
/// Try to simplify VPSingleDefRecipe \p Def.
1061-
static void simplifySingleDefRecipe(VPSingleDefRecipe *Def,
1062-
VPTypeAnalysis &TypeInfo) {
1061+
static void simplifyRecipe(VPSingleDefRecipe *Def, VPTypeAnalysis &TypeInfo) {
10631062
VPlan *Plan = Def->getParent()->getPlan();
10641063

10651064
// Simplification of live-in IR values for SingleDef recipes using
@@ -1360,7 +1359,7 @@ void VPlanTransforms::simplifyRecipes(VPlan &Plan) {
13601359
for (VPBasicBlock *VPBB : VPBlockUtils::blocksOnly<VPBasicBlock>(RPOT)) {
13611360
for (VPRecipeBase &R : make_early_inc_range(*VPBB))
13621361
if (auto *Def = dyn_cast<VPSingleDefRecipe>(&R))
1363-
simplifySingleDefRecipe(Def, TypeInfo);
1362+
simplifyRecipe(Def, TypeInfo);
13641363
}
13651364
}
13661365

0 commit comments

Comments
 (0)