================ @@ -6,12 +6,8 @@ ; for (k = 0; k < 256; k++) ; A[j + 1][k] = A[j][k] + 1; ; -; The above loop nest has a direction vector of [* > =]. In principle, it is -; legal to interchange the j-loop and the k-loop, but at the moment the -; legality check doesn't handle such cases. -; -; FIXME: The direction vector of [* > =] should be normalized to [* < =] at the -; beginning. +; The above loop nest has a direction vector of [* > =]. Ensure that the j-loop +; and the k-loop are interchanged. The interchange was not applied in the past. ---------------- Meinersbur wrote:
I think the argument at https://github.com/llvm/llvm-project/pull/193480#issuecomment-4865243855 should already allow to interchange the loop, no changing how dependence vectors are normalized is needed. https://github.com/llvm/llvm-project/pull/206960 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
