[llvm] [LV]Enable max safe distance in predicated DataWithEVL vectorization mode. (PR #100755)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 13:40:01 PST 2024


================
@@ -33,6 +33,10 @@ class TargetTransformInfo;
 struct VectorizerParams {
   /// Maximum SIMD width.
   static const unsigned MaxVectorWidth;
+  /// Maximum unroll factor. Can represent actual unroll factor and/or some
+  /// other target-specific features, like LMUL factor for RISC-V with RVV
+  /// support.
+  static const unsigned MaxVectorUF;
----------------
fhahn wrote:

At the moment, we never interleave in EVL mode, why do we need to account for LMUL here?

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


More information about the llvm-commits mailing list