[llvm] [LAA] Add initial support for non-power-of-2 store-load forwarding distance (PR #137873)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 03:43:28 PDT 2025
================
@@ -1831,24 +1832,61 @@ bool MemoryDepChecker::couldPreventStoreLoadForward(uint64_t Distance,
break;
}
}
+ // If target supports active vector length, then it supports non-power-2
----------------
fhahn wrote:
```suggestion
// If target supports non-power-of-2 store-load forwarding distances,
```
Targets could also support non-power-of-2 vectors natively or via predication.
https://github.com/llvm/llvm-project/pull/137873
More information about the llvm-commits
mailing list