[llvm] [LV][EVL] Support in-loop reduction using tail folding with EVL. (PR #90184)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 05:15:41 PDT 2024


================
@@ -2102,20 +2103,26 @@ class VPInterleaveRecipe : public VPRecipeBase {
 /// a vector operand into a scalar value, and adding the result to a chain.
 /// The Operands are {ChainOp, VecOp, [Condition]}.
 class VPReductionRecipe : public VPSingleDefRecipe {
+protected:
   /// The recurrence decriptor for the reduction in question.
   const RecurrenceDescriptor &RdxDesc;
----------------
Mel-Chen wrote:

006730302584316cfba1722453259aadf19aa7d9
We can have it, but will increase some getter calls in `VPReductionEVLRecipe`.

https://github.com/llvm/llvm-project/pull/90184


More information about the llvm-commits mailing list