[llvm] [LAA] Use PSE::getSymbolicMaxBackedgeTakenCount. (PR #93499)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 21:55:11 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(
----------------
fhahn wrote:

Updated, thanks!

https://github.com/llvm/llvm-project/pull/93499


More information about the llvm-commits mailing list