[llvm] e6fdecd - [VPlan] Drop references to Ingredient from VPWidenRecipe comments (NFC)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 12:33:42 PDT 2024
Author: Florian Hahn
Date: 2024-07-22T20:33:13+01:00
New Revision: e6fdecd29059c0951a4970e9e6cf478972844099
URL: https://github.com/llvm/llvm-project/commit/e6fdecd29059c0951a4970e9e6cf478972844099
DIFF: https://github.com/llvm/llvm-project/commit/e6fdecd29059c0951a4970e9e6cf478972844099.diff
LOG: [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.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlan.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 805d9d91fc186..0b596e7e4f633 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1399,9 +1399,10 @@ class VPInstruction : public VPRecipeWithIRFlags {
bool isSingleScalar() const;
};
-/// VPWidenRecipe is a recipe for producing a copy of vector type its
-/// ingredient. This recipe covers most of the traditional vectorization cases
-/// where each ingredient transforms into a vectorized version of itself.
+/// VPWidenRecipe is a recipe for producing a widened instruction using the
+/// opcode and operands of the recipe. This recipe covers most of the
+/// traditional vectorization cases where each recipe transforms into a
+/// vectorized version of itself.
class VPWidenRecipe : public VPRecipeWithIRFlags {
unsigned Opcode;
@@ -1421,7 +1422,8 @@ class VPWidenRecipe : public VPRecipeWithIRFlags {
VP_CLASSOF_IMPL(VPDef::VPWidenSC)
- /// Produce widened copies of all Ingredients.
+ /// Produce a widened instruction using the opcode and operands of the recipe,
+ /// processing State.VF elements.
void execute(VPTransformState &State) override;
unsigned getOpcode() const { return Opcode; }
More information about the llvm-commits
mailing list