[llvm] [SystemZ] SLP reductions: cost functions of reductions and scalarization (PR #112491)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 08:20:03 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
----------------
alexey-bataev wrote:
Try to reformat to make `\param` on a separate line
https://github.com/llvm/llvm-project/pull/112491
More information about the llvm-commits
mailing list