[llvm] [VPlan] Replace RdxDesc with RecurKind in VPReductionPHIRecipe (NFC). (PR #142322)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 6 09:34:32 PDT 2025
================
@@ -2240,9 +2240,7 @@ class VPReductionPHIRecipe : public VPHeaderPHIRecipe,
VPSlotTracker &SlotTracker) const override;
#endif
- const RecurrenceDescriptor &getRecurrenceDescriptor() const {
- return RdxDesc;
- }
+ RecurKind getRecurrenceKind() const { return Kind; }
----------------
ayalz wrote:
```suggestion
/// Returns the recurrence kind of the reduction.
RecurKind getRecurrenceKind() const { return Kind; }
```
https://github.com/llvm/llvm-project/pull/142322
More information about the llvm-commits
mailing list