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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:055c6cc038ef6bba311eee2abdafaadb532ddd5b

commit r16-4296-g055c6cc038ef6bba311eee2abdafaadb532ddd5b
Author: Richard Biener <[email protected]>
Date:   Tue Oct 7 15:38:57 2025 +0200

    Add boolean pattern for bitwise ops

    As we consider bitwise operations possible mask operations we have
    to consider the case of only one operand arriving as mask.  The
    following compensates for this by creating mask from the other operand
    and insert possibly required mask conversions.

            PR tree-optimization/110223
            PR tree-optimization/122128
            * tree-vect-patterns.cc (vect_recog_bool_pattern): Add
            compensation for mixed mask/data bitwise operations.

            * gcc.dg/vect/vect-bool-2.c: New testcase.
            * gcc.dg/vect/vect-bool-cmp-3.c: Likewise.
            * gcc.dg/vect/vect-bool-cmp-4.c: Likewise.

Reply via email to