1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-forwprop1" } */
4 typedef int vec
__attribute__((vector_size (4 * sizeof (int))));
5 void f (vec
*x1
, vec
*x2
)
7 vec m
= { 1, 2, 3, 0 };
8 vec n
= { 3, 0, 1, 2 };
9 vec y
= __builtin_shuffle (*x1
, *x2
, n
);
10 vec z
= __builtin_shuffle (y
, m
);
14 /* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */
15 /* { dg-final { cleanup-tree-dump "forwprop1" } } */