1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
3 /* { dg-require-effective-target vect_perm } */
4 /* { dg-additional-options "-fdump-tree-cddce1 -fno-tree-fre" } */
6 typedef double vec
__attribute__((vector_size (2 * sizeof (double))));
7 void f (vec
*px
, vec
*y
, vec
*z
)
10 vec t1
= { x
[1], x
[0] };
11 vec t2
= { x
[0], x
[1] };
16 /* Optimization in forwprop1, cleanup in cddce1. */
18 /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 1 "cddce1" } } */
19 /* { dg-final { scan-tree-dump-not "BIT_FIELD_REF" "cddce1" } } */