[llvm] [LV]Set tailfolding styles before computing feasible max VF. (PR #91403)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 13 15:02:57 PDT 2024


================
@@ -1631,6 +1639,11 @@ class LoopVectorizationCostModel {
                                        ElementCount MaxSafeVF,
                                        bool FoldTailByMasking);
 
+  /// Checks if the scalable vectorization is supported and enabled. The result
+  /// is stored in \p IsScalableVectorizationAllowed and used later, if
+  /// requested.
----------------
ayalz wrote:

```suggestion
  /// Checks if scalable vectorization is supported and enabled. Caches the result to avoid repeated debug dumps for repeated queries.
```

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


More information about the llvm-commits mailing list