[Bug target/97872] [ARM NEON] Missed optimization for less-than comparison on vectors

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 8 09:01:34 GMT 2020


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Prathamesh Kulkarni
<prathamesh3492@gcc.gnu.org>:

https://gcc.gnu.org/g:3a6e3ad38a17a03ee0139b49a0946e7b9ded1eb1

commit r11-5839-g3a6e3ad38a17a03ee0139b49a0946e7b9ded1eb1
Author: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Date:   Tue Dec 8 14:30:04 2020 +0530

    gimple-isel: Fold x CMP y ? -1 : 0 to x CMP y [PR97872]

    gcc/
    2020-12-08  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

            PR target/97872
            * gimple-isel.cc (gimple_expand_vec_cond_expr): Try to fold
            x CMP y ? -1 : 0 to x CMP y.

    gcc/testsuite/
    2020-12-08  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

            PR target/97872
            * gcc.target/arm/pr97872.c: New test.


More information about the Gcc-bugs mailing list