Skip to content

Commit e6fdecd

Browse files
committed
[VPlan] Drop references to Ingredient from VPWidenRecipe comments (NFC)
VPWidenRecipe has been updated to use Opcode + operands instead of an Instruction 'ingredient'. Reword the comments.
1 parent bdee9b0 commit e6fdecd

File tree

1 file changed

+6
-4
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+6
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,9 +1399,10 @@ class VPInstruction : public VPRecipeWithIRFlags {
13991399
bool isSingleScalar() const;
14001400
};
14011401

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.
14051406
class VPWidenRecipe : public VPRecipeWithIRFlags {
14061407
unsigned Opcode;
14071408

@@ -1421,7 +1422,8 @@ class VPWidenRecipe : public VPRecipeWithIRFlags {
14211422

14221423
VP_CLASSOF_IMPL(VPDef::VPWidenSC)
14231424

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.
14251427
void execute(VPTransformState &State) override;
14261428

14271429
unsigned getOpcode() const { return Opcode; }

0 commit comments

Comments
 (0)