[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 May 17 03:11:20 PDT 2024


================
@@ -1611,6 +1648,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:

8f48074fc7b4a8289653fcc6448420443b355a3f
Sure, add the test case for printing the recipe. 

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


More information about the llvm-commits mailing list