[llvm] LAA: generalize strides over unequal type sizes (PR #108088)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 05:36:36 PST 2024


================
@@ -1921,6 +1917,7 @@ MemoryDepChecker::getDependenceDistanceStrideAndSize(
   if (StrideAPtr && *StrideAPtr < 0) {
     std::swap(Src, Sink);
     std::swap(AInst, BInst);
+    std::swap(ATy, BTy);
----------------
david-arm wrote:

This looks like a bug fix and unrelated to this patch - can you commit this in a separate PR please?

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


More information about the llvm-commits mailing list