[llvm] LAA: generalize strides over unequal type sizes (PR #108088)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 01:15:03 PDT 2024
================
@@ -1970,31 +1967,51 @@ MemoryDepChecker::getDependenceDistanceStrideAndSize(
return MemoryDepChecker::Dependence::IndirectUnsafe;
}
- int64_t StrideAPtrInt = *StrideAPtr;
- int64_t StrideBPtrInt = *StrideBPtr;
- LLVM_DEBUG(dbgs() << "LAA: Src induction step: " << StrideAPtrInt
- << " Sink induction step: " << StrideBPtrInt << "\n");
+ LLVM_DEBUG(dbgs() << "LAA: Src induction step: " << *StrideAPtr
+ << " Sink induction step: " << *StrideBPtr << "\n");
+
+ // Note that store size is different from alloc size, which is depedent on
----------------
arsenm wrote:
```suggestion
// Note that store size is different from alloc size, which is dependent on
```
https://github.com/llvm/llvm-project/pull/108088
More information about the llvm-commits
mailing list