[llvm] [LV] Vectorize Epilogues for loops with small VF but high IC (PR #108190)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 05:52:25 PDT 2024


================
@@ -1537,7 +1537,8 @@ class LoopVectorizationCostModel {
   /// Returns true if epilogue vectorization is considered profitable, and
   /// false otherwise.
   /// \p VF is the vectorization factor chosen for the original loop.
-  bool isEpilogueVectorizationProfitable(const ElementCount VF) const;
+  bool isEpilogueVectorizationProfitable(const ElementCount VF,
----------------
fhahn wrote:

document new argument

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


More information about the llvm-commits mailing list