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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira
<avie...@gcc.gnu.org>:

https://gcc.gnu.org/g:27b6fb155dfefae8dc6ac8d8264851f104dff4e4

commit r12-9073-g27b6fb155dfefae8dc6ac8d8264851f104dff4e4
Author: Andre Vieira <andre.simoesdiasvie...@arm.com>
Date:   Tue Dec 6 12:06:33 2022 +0000

    arm: Fix MVE's vcmp vector-scalar patterns [PR107987]

    This patch surrounds the scalar operand of the MVE vcmp patterns with a
    vec_duplicate to ensure both operands of the comparision operator have the
same
    (vector) mode.

    gcc/ChangeLog:

            PR target/107987
            * config/arm/mve.md (mve_vcmp<mve_cmp_op>q_n_<mode>,
            @mve_vcmp<mve_cmp_op>q_n_f<mode>): Apply vec_duplicate to scalar
            operand.

    gcc/testsuite/ChangeLog:

            * gcc.target/arm/mve/pr107987.c: New test.

    (cherry picked from commit ed34c3bc3428bce663d42e9eeda10bc0c5d56d5c)
  • [Bug target/107987] [12 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to