File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1399,9 +1399,10 @@ class VPInstruction : public VPRecipeWithIRFlags {
1399
1399
bool isSingleScalar () const ;
1400
1400
};
1401
1401
1402
- // / VPWidenRecipe is a recipe for producing a copy of vector type its
1403
- // / ingredient. This recipe covers most of the traditional vectorization cases
1404
- // / where each ingredient transforms into a vectorized version of itself.
1402
+ // / VPWidenRecipe is a recipe for producing a widened instruction using the
1403
+ // / opcode and operands of the recipe. This recipe covers most of the
1404
+ // / traditional vectorization cases where each recipe transforms into a
1405
+ // / vectorized version of itself.
1405
1406
class VPWidenRecipe : public VPRecipeWithIRFlags {
1406
1407
unsigned Opcode;
1407
1408
@@ -1421,7 +1422,8 @@ class VPWidenRecipe : public VPRecipeWithIRFlags {
1421
1422
1422
1423
VP_CLASSOF_IMPL (VPDef::VPWidenSC)
1423
1424
1424
- // / Produce widened copies of all Ingredients.
1425
+ // / Produce a widened instruction using the opcode and operands of the recipe,
1426
+ // / processing State.VF elements.
1425
1427
void execute(VPTransformState &State) override ;
1426
1428
1427
1429
unsigned getOpcode () const { return Opcode; }
You can’t perform that action at this time.
0 commit comments