[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:03 PST 2024
================
@@ -304,6 +321,11 @@ class MemoryDepChecker {
/// restrictive.
uint64_t MaxSafeVectorWidthInBits = -1U;
+ /// Maximum number of elements (power-of-2 and non-power-of-2), which do not
+ /// prevent store-load forwarding and safe to operate simultaneously.
+ std::pair<std::optional<uint64_t>, std::optional<uint64_t>>
----------------
fhahn wrote:
Why do we need to distinguish between non-power and power of 2 here, can't we just use the max of both?
https://github.com/llvm/llvm-project/pull/100755
More information about the llvm-commits
mailing list