[llvm] [LAA] Be more precise on different store sizes (PR #122318)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 15 05:20:45 PDT 2025
================
@@ -2079,12 +2082,27 @@ MemoryDepChecker::getDependenceDistanceStrideAndSize(
if (StrideAScaled == StrideBScaled)
CommonStride = StrideAScaled;
+ // If the distance is a SCEVCouldNotCompute, fail immediately.
+ if (isa<SCEVCouldNotCompute>(Dist)) {
+ LLVM_DEBUG(dbgs() << "LAA: Dependence because of uncomputable distance.\n");
+ return Dependence::Unknown;
+ }
----------------
fhahn wrote:
Is this directly related to support different sizes?
https://github.com/llvm/llvm-project/pull/122318
More information about the llvm-commits
mailing list