[llvm-branch-commits] [llvm] [LAA] Use PSE::getSymbolicMaxBackedgeTakenCount. (PR #93499)
Philip Reames via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 28 13:34:05 PDT 2024
================
@@ -2055,9 +2055,9 @@ MemoryDepChecker::Dependence::DepType MemoryDepChecker::isDependent(
// stride multiplied by the backedge taken count, the accesses are independet,
// i.e. they are far enough appart that accesses won't access the same
// location across all loop ierations.
- if (HasSameSize &&
- isSafeDependenceDistance(DL, SE, *(PSE.getBackedgeTakenCount()), *Dist,
- MaxStride, TypeByteSize))
+ if (HasSameSize && isSafeDependenceDistance(
----------------
preames wrote:
The doc comment on isSafeDependenceDistance needs updated. I think it's correct, but there's a difference between an exact BTC and a bound on BTC.
https://github.com/llvm/llvm-project/pull/93499
More information about the llvm-branch-commits
mailing list