https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113558

--- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Created attachment 57195
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57195&action=edit
Tentative patch

Ah, it looks like nothing is being vectorized at all and the second check just
happened to match as part of the unsuccessful vectorization attempt.  It would
seem that we need the same condition as for the first check as well.

Would you mind giving the attached patch a try?  I ran it on riscv and power10
so far, x86 and aarch64 are still in progress.

Reply via email to