[llvm] [LV]Fix/improve max safe distance analysis (PR #121156)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 12:10:44 PST 2025


================
@@ -1436,8 +1436,11 @@ class LoopVectorizationCostModel {
   /// Selects and saves TailFoldingStyle for 2 options - if IV update may
   /// overflow or not.
   /// \param IsScalableVF true if scalable vector factors enabled.
+  /// \param TailFoldPowOf2 true if tail folding with power-of-2
----------------
fhahn wrote:

```suggestion
  /// \param CanTailFoldPowOf2 true if tail folding with power-of-2
```

may be clearer?

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


More information about the llvm-commits mailing list