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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:60ab3d0f2d9f95045543fea361e976351e76b5a1

commit r13-223-g60ab3d0f2d9f95045543fea361e976351e76b5a1
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Tue May 10 09:33:16 2022 +0200

    Fix internal error with vectorization on SPARC

    This is a regression present since the 10.x series, but the underlying
issue
    has been there since the TARGET_VEC_PERM_CONST hook was implemented, in the
    form of an ICE when expanding a constant VEC_PERM_EXPR in V4QI, while the
    back-end only supports V8QI constant VEC_PERM_EXPRs.

    gcc/
            PR target/105292
            * config/sparc/sparc.cc (sparc_vectorize_vec_perm_const): Return
            true only for 8-byte vector modes.

    gcc/testsuite/
            * gcc.target/sparc/20220510-1.c: New test.

Reply via email to