[llvm] [LV][AArch64] Prefer epilogue with fixed-width over scalable VF in case of equal costs. (PR #155546)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 00:29:31 PDT 2025


================
@@ -1815,7 +1815,7 @@ class TargetTransformInfo {
   /// \returns True if the targets prefers fixed width vectorization if the
   /// loop vectorizer's cost-model assigns an equal cost to the fixed and
   /// scalable version of the vectorized loop.
-  LLVM_ABI bool preferFixedOverScalableIfEqualCost() const;
+  LLVM_ABI bool preferFixedOverScalableIfEqualCost(bool IsEpilogue) const;
----------------
fhahn wrote:

should be documented

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


More information about the llvm-commits mailing list