[llvm] [LAA] Add initial support for non-power-of-2 store-load forwarding distance (PR #137873)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 12:59:54 PDT 2025
================
@@ -348,6 +366,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;
----------------
alexey-bataev wrote:
Not sure this is correct. The fact that is supports predicated intrinsics does not mean it does supports non-power-of-2 dep distance.
https://github.com/llvm/llvm-project/pull/137873
More information about the llvm-commits
mailing list