[PATCH] D60831: [DebugInfo at O2][LoopVectorize] pr39024: Vectorized code linenos step through loop even after completion
Adam Nemet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 18:18:43 PDT 2019
anemet added inline comments.
================
Comment at: llvm/test/Transforms/LoopVectorize/unsafe-dep-remark.ll:14
-; CHECK: remark: /tmp/kk.c:3:16: loop not vectorized: unsafe dependent memory operations in loop. Use #pragma loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
+; CHECK: remark: /tmp/kk.c:2:3: loop not vectorized: unsafe dependent memory operations in loop. Use #pragma loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
----------------
aprantl wrote:
> @anemet Does that change look reasonable?
Yes, even though it looks the version on the left was able to pinpoint the offending memory operation that is actually not the case. We are using the debug location of the loop in the remark, so that was only coincidence.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60831/new/
https://reviews.llvm.org/D60831
More information about the llvm-commits
mailing list