[llvm] [DA] do not handle array accesses of different offsets (PR #123436)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 12:50:24 PDT 2025


kasuga-fj wrote:

I don't fully understand this component yet, but not sure if "the offset is `%N` and `%N % 4 == 0"` and "the offset is `4 * %n` where `%N == 4 * %n` are equivalent. That is, if `isKnownMultipleOf` requires some assumptions, would it be better to replace the offset `%N` with `4 * %n` where `%N == 4 * %n`?

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


More information about the llvm-commits mailing list