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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>:

https://gcc.gnu.org/g:de0faa56a10406b50fba159957e3a3fd2f95c64b

commit r12-6422-gde0faa56a10406b50fba159957e3a3fd2f95c64b
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Mon Jan 10 20:39:35 2022 +0100

    tree-optimization/103948 - detect vector vec_cmp in expand_vector_condition

    Currently, expand_vector_condition detects only vcondMN and vconduMN
    named RTX patterns.  Teach it to also consider vec_cmpMN and vec_cmpuMN
    RTX patterns when all ones vector is returned for true and all zeros vector
    is returned for false.

    2022-01-10  Richard Biener  <rguent...@suse.de>

    gcc/ChangeLog:

            PR tree-optimization/103948
            * tree-vect-generic.c (expand_vector_condition): Return true if
            all ones vector is returned for true, all zeros vector for false
            and the target defines corresponding vec_cmp{,u}MN named RTX
pattern.

Reply via email to