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

Kolya Panchenko via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 14:46:30 PDT 2024


================
@@ -1652,6 +1694,29 @@ void VPReductionRecipe::print(raw_ostream &O, const Twine &Indent,
     O << " (with final reduction value stored in invariant address sank "
          "outside of loop)";
 }
+
+void VPReductionEVLRecipe::print(raw_ostream &O, const Twine &Indent,
+                                 VPSlotTracker &SlotTracker) const {
+  O << Indent << "REDUCE ";
----------------
nikolaypanchenko wrote:

Better to have more explicit naming here. For example `VP-REDUCE`

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


More information about the llvm-commits mailing list