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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 05:35:03 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;
----------------
fhahn wrote:

can those be kept private? Should only be accessed through their accessors?

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


More information about the llvm-commits mailing list