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

--- Comment #6 from CVS 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:554bb9b61e2b76d4ace16a3f766b98ea887b17f4

commit r13-5089-g554bb9b61e2b76d4ace16a3f766b98ea887b17f4
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Jan 10 10:42:21 2023 +0100

    tree-optimization/108314 - avoid BIT_NOT optimization for extract-last

    The extract-last reduction internal function expects the then and
    else clause as vector and scalar and thus we cannot perform optimization
    of the inversion of the condition by swapping the then/else clauses.

            PR tree-optimization/108314
            * tree-vect-stmts.cc (vectorizable_condition): Do not
            perform BIT_NOT_EXPR optimization for EXTRACT_LAST_REDUCTION.

            * gcc.dg/vect/pr108314.c: New testcase.

Reply via email to