[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
Fri Jun 28 01:41:45 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 ";
----------------
Mel-Chen wrote:

I prefer we should temporarily align with the existing EVL recipe. 
Later, we can gather all the developers involved with EVL vectorization to discuss how to standardize the print format for EVL recipes.

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


More information about the llvm-commits mailing list