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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>:

https://gcc.gnu.org/g:cbf569486b2decbde0308f9f4d0f0837e4cfefd9

commit r14-7036-gcbf569486b2decbde0308f9f4d0f0837e4cfefd9
Author: Tamar Christina <tamar.christ...@arm.com>
Date:   Tue Jan 9 11:16:16 2024 +0000

    middle-end: rejects loops with nonlinear inductions and early breaks
[PR113163]

    We can't support nonlinear inductions other than neg when vectorizing
    early breaks and iteration count is known.

    For early break we currently require a peeled epilog but in these cases
    we can't compute the remaining values.

    gcc/ChangeLog:

            PR middle-end/113163
            * tree-vect-loop-manip.cc (vect_can_peel_nonlinear_iv_p):
            Reject non-linear inductions that aren't supported.

    gcc/testsuite/ChangeLog:

            PR middle-end/113163
            * gcc.target/gcn/pr113163.c: New test.

Reply via email to