Skip to content

Commit ab2e0d9

Browse files
committed
Make static
1 parent a4c2c3d commit ab2e0d9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,9 @@ void VPlanTransforms::simplifyRecipes(VPlan &Plan, Type &CanonicalIVTy) {
10241024
}
10251025
}
10261026

1027-
void VPlanTransforms::simplifyBlends(VPlan &Plan) {
1027+
/// Normalize and simplify VPBlendRecipes. Should be run after simplifyRecipes
1028+
/// to make sure the masks are simplified.
1029+
static void simplifyBlends(VPlan &Plan) {
10281030
using namespace llvm::VPlanPatternMatch;
10291031
ReversePostOrderTraversal<VPBlockDeepTraversalWrapper<VPBlockBase *>> RPOT(
10301032
Plan.getEntry());

llvm/lib/Transforms/Vectorize/VPlanTransforms.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ struct VPlanTransforms {
183183
/// CanonicalIVTy as type for all un-typed live-ins in VPTypeAnalysis.
184184
static void simplifyRecipes(VPlan &Plan, Type &CanonicalIVTy);
185185

186-
/// Normalize and simplify VPBlendRecipes. Should be run after simplifyRecipes
187-
/// to make sure the masks are simplified.
188-
static void simplifyBlends(VPlan &Plan);
189-
190186
/// If there's a single exit block, optimize its phi recipes that use exiting
191187
/// IV values by feeding them precomputed end values instead, possibly taken
192188
/// one step backwards.

0 commit comments

Comments
 (0)