[llvm] [LAA] Be more precise on different store sizes (PR #122318)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 07:26:02 PDT 2025
================
@@ -2151,7 +2157,7 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx,
if (APDist) {
// If the distance between accesses and their strides are known constants,
// check whether the accesses interlace each other.
- if (ConstDist > 0 && CommonStride && CommonStride > 1 && HasSameSize &&
+ if (ConstDist > 0 && CommonStride && CommonStride > 1 &&
areStridedAccessesIndependent(ConstDist, *CommonStride, TypeByteSize)) {
----------------
fhahn wrote:
Will TypeByteSize be 0 if we don't have the same size?
https://github.com/llvm/llvm-project/pull/122318
More information about the llvm-commits
mailing list