aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-11-29 15:32:00 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-11-29 15:32:00 +0100
commitf06e47d7b644b4598a85f89eb76c13298e6e5d9f (patch)
tree154376b661fe1d100a310785cbfa7be99e6c267e /gcc/alias.c
parentb076fecbc240380b25bb25c65aae85c4b5ea9ce5 (diff)
downloadgcc-f06e47d7b644b4598a85f89eb76c13298e6e5d9f.zip
gcc-f06e47d7b644b4598a85f89eb76c13298e6e5d9f.tar.gz
gcc-f06e47d7b644b4598a85f89eb76c13298e6e5d9f.tar.bz2
re PR target/88152 (optimize SSE & AVX char compares with subsequent movmskb)
PR target/88152 * tree.h (build_uniform_cst, uniform_integer_cst_p): Declare. * tree.c (build_uniform_cst, uniform_integer_cst_p): New functions. * match.pd (define_predicates): Add uniform_integer_cst_p. (cmp @0 INTEGER_CST@1, cmp (convert?@2 @0) INTEGER_CST@1): Adjust so that it works also for vector comparisons with uniform constants with INTEGER_CST element. * g++.dg/tree-ssa/pr88152-1.C: New test. * g++.dg/tree-ssa/pr88152-2.C: New test. From-SVN: r266620
Diffstat (limited to 'gcc/alias.c')
0 files changed, 0 insertions, 0 deletions