[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 05:04:48 PDT 2024


================
@@ -1621,6 +1622,12 @@ class LoopVectorizationCostModel {
   /// \p VF is the vectorization factor chosen for the original loop.
   bool isEpilogueVectorizationProfitable(const ElementCount VF) const;
 
+  /// Return the cost of instructions in an inloop reduction pattern, if I is
+  /// part of that pattern.
----------------
ayalz wrote:

```suggestion
  /// Return the cost of instructions in an inloop reduction pattern, if \p I
  /// is part of that pattern.
```
(unrelated to this patch).

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


More information about the llvm-commits mailing list