[llvm] [LV]Split store-load forward distance analysis from other checks (PR #121156)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 3 03:48:06 PST 2025
================
@@ -1742,31 +1742,34 @@ bool MemoryDepChecker::couldPreventStoreLoadForward(uint64_t Distance,
// cause any slowdowns.
const uint64_t NumItersForStoreLoadThroughMemory = 8 * TypeByteSize;
// Maximum vector factor.
- uint64_t MaxVFWithoutSLForwardIssues = std::min(
- VectorizerParams::MaxVectorWidth * TypeByteSize, MinDepDistBytes);
+ uint64_t MaxVFWithoutSLForwardIssuesPowerOf2 = std::min(
----------------
fhahn wrote:
Those are just name changes? Are they needed, as everything is still just power-of-2 here? If possible better to leave the names as is, and possibly change them as NFC if/ponce needed?
https://github.com/llvm/llvm-project/pull/121156
More information about the llvm-commits
mailing list