[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
Fri Jul 5 10:48:00 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 ";
----------------
fhahn wrote:

Sounds good to me as first step, would be good to consistently identify EVL-based recipes in the printing. It would be great if you could share a follow-on PR for that.

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


More information about the llvm-commits mailing list