[llvm] [LoopInterchange] Fix depends() check parameters (PR #77719)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 08:46:33 PST 2024


Meinersbur wrote:

1. `populateDependencyMatrix` MUST check for self-dependencies, i.e. StoreInsts that overwrite memory of previous iterations. These must be kept in-order so the last overwrite is the value in memory when the loop nest finishes.

2. The order of I/J does not matter because of `D->normalize(SE)`.


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


More information about the llvm-commits mailing list