1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1 -fno-tree-fre" } */
3 typedef int v4si __attribute__ ((vector_size (4 * sizeof(int))));
4 
5 int
test(v4si * x,v4si * y)6 test (v4si *x, v4si *y)
7 {
8   v4si m = { 2, 3, 6, 5 };
9   v4si z = __builtin_shuffle (*x, *y, m);
10   return z[2];
11 }
12 
13 /* Optimization in forwprop1, cleanup in cddce1.  */
14 
15 /* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "cddce1" } } */
16