[llvm] [SystemZ] SLP reductions: cost functions of reductions and scalarization (PR #112491)
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 06:44:22 PDT 2024
================
@@ -3032,10 +3032,9 @@ class BoUpSLP {
SmallVectorImpl<SmallVector<const TreeEntry *>> &Entries,
unsigned NumParts, bool ForOrder = false);
- /// \returns the scalarization cost for this list of values. Assuming that
- /// this subtree gets vectorized, we may need to insert the values from the
- /// roots. This method calculates the cost of inserting the values.
- /// \param ForPoisonSrc true if initial vector is poison, false otherwise.
+ /// \returns the cost of gathering (inserting) the values in \p VL into a
+ /// vector. \param ForPoisonSrc true if initial vector is poison, false
----------------
JonPsson1 wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/112491
More information about the llvm-commits
mailing list