diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2022-01-10 20:39:35 +0100 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2022-01-10 20:40:22 +0100 |
commit | de0faa56a10406b50fba159957e3a3fd2f95c64b (patch) | |
tree | 7581c1c8014e6653ed5cc27610112cffd2b1ddc0 /gcc/ada | |
parent | c173d880d651b9754f82af079e8d694418838a12 (diff) | |
download | gcc-de0faa56a10406b50fba159957e3a3fd2f95c64b.zip gcc-de0faa56a10406b50fba159957e3a3fd2f95c64b.tar.gz gcc-de0faa56a10406b50fba159957e3a3fd2f95c64b.tar.bz2 |
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 <rguenther@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.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions