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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>:

https://gcc.gnu.org/g:2056d52d74070f50c5f8a22e4a600fcc3974fd88

commit r16-117-g2056d52d74070f50c5f8a22e4a600fcc3974fd88
Author: Jan Hubicka <hubi...@ucw.cz>
Date:   Thu Apr 24 18:37:55 2025 +0200

    Fix i386 vectorizer cost of COND_EXPR and MIN_MAX with one of parameters 0
or -1

    gcc/ChangeLog:

            PR target/119919
            * config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Account
            correctly cond_expr and min/max when one of operands is 0 or -1.

    gcc/testsuite/ChangeLog:

            * gcc.target/i386/pr119919.c: New test.

Reply via email to