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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:175b49933ffeea6d4a690e40bba006854977f43f

commit r16-2333-g175b49933ffeea6d4a690e40bba006854977f43f
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jul 17 08:51:11 2025 +0200

    tree-optimization/121048 - move check for only having vector(1)

    The following moves rejecting loop vectorization with vector(1)
    typed vectors from the initial vector type determining to after
    SLP discovery when we can check whether there's any instance
    with other than vector(1) vectors.  For RVV at least vector(1)
    instances serve as a limited way to support partial loop vectorization.
    The following restores this.

            PR tree-optimization/121048
            * tree-vect-loop.cc (vect_determine_vectype_for_stmt_1):
            Remove rejecting vector(1) vector types.
            (vect_set_stmts_vectype): Likewise.
            * tree-vect-slp.cc (vect_make_slp_decision): Only
            count instances with non-vector(1) root towards whether
            we have any interesting instances to vectorize.

Reply via email to