[llvm] [LV]Initial support for safe distance in predicated DataWithEVL vectorization mode. (PR #102897)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 06:43:50 PDT 2024


================
@@ -1612,6 +1617,12 @@ class LoopVectorizationCostModel {
   /// true if scalable vectorization is supported and enabled.
   std::optional<bool> IsScalableVectorizationAllowed;
 
+  /// Maximum safe number of elements to be processed, which do not
+  /// prevent store-load forwarding and safe with regard of the memory
----------------
fhahn wrote:

```suggestion
  /// prevent store-load forwarding and are safe with regard to the memory
```

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


More information about the llvm-commits mailing list