[llvm] [LV][EVL] Support in-loop reduction using tail folding with EVL. (PR #90184)
Kolya Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 11:02:13 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:
Since that is a different class, it makes more sense to actually have `VP-REDUCE` as a recipe name and have `reduce` in rhs
https://github.com/llvm/llvm-project/pull/90184
More information about the llvm-commits
mailing list