re PR middle-end/91166 ([SVE] Unfolded ZIPs of constants)
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Wed, 24 Jul 2019 07:20:24 +0000 (07:20 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Wed, 24 Jul 2019 07:20:24 +0000 (07:20 +0000)
commit21caa1a2649d586f4f8830aba43b0c132584f2dd
tree1dd8d376056aa5a60d5b91c0be08815d81f4ef3d
parent70121844349587b23c3950e844021a22ab51638c
re PR middle-end/91166 ([SVE] Unfolded ZIPs of constants)

2019-07-24  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

PR middle-end/91166
* match.pd (vec_perm_expr(v, v, mask) -> v): New pattern.
(define_predicates): Add entry for uniform_vector_p.
(vec_same_elem_p): New match pattern.

testsuite/
* gcc.target/aarch64/sve/pr91166.c: New test.

From-SVN: r273758
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/pr91166.c [new file with mode: 0644]