Issue 64658
Summary [Loop Vectorizer] Loop is not vectorized despite builtin_assume
Labels new issue
Assignees
Reporter komalon1
    See reproducer in https://godbolt.org/z/M6a7zxxdK
Given the fact that `stride >= width` it should be safe to vectorize the load from `l_out[(i + 1) * stride + j]` and the store to `l_out[i*stride + j]` since they won't overlap.

Replacing `stride` with `width` works in this case.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to