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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 12:06:01 PDT 2024


================
@@ -1648,6 +1660,11 @@ 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
+  /// dependencies.
----------------
alexey-bataev wrote:

Added some extra explanation

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


More information about the llvm-commits mailing list