Skip to content

Commit ec7027f

Browse files
committed
add comment for createEVLRecipe implement
1 parent 8072d31 commit ec7027f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,13 @@ void VPlanTransforms::addActiveLaneMask(
14421442
HeaderMask->replaceAllUsesWith(LaneMask);
14431443
}
14441444

1445-
/// Create EVLRecipe with Recipe
1445+
// Convert each widen Recipe to a widen EVLRecipe in VectorLoopRegion.
1446+
// \p HeaderMask Header Mask.
1447+
// \p CurRecipe Recipe to be transform.
1448+
// \p TypeInfo VPlan-based type analysis.
1449+
// \p AllOneMask The vector mask parameter of vector-predication intrinsics.
1450+
// \p EVL The explicit vector length parameter of vector-predication
1451+
// intrinsics.
14461452
static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
14471453
VPRecipeBase &CurRecipe,
14481454
VPTypeAnalysis &TypeInfo,

0 commit comments

Comments
 (0)