[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


================
@@ -328,6 +350,9 @@ class MemoryDepChecker {
   /// backwards-vectorizable or unknown (triggering a runtime check).
   unsigned MaxTargetVectorWidthInBits = 0;
 
+  /// True if current target supports non-power-of-2 dependence distances.
+  bool AllowNonPow2Deps = false;
----------------
fhahn wrote:

This is confusing, in general any target supports non-power-of-2 dependence distances, if >= VF?

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


More information about the llvm-commits mailing list