1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1 -Wno-psabi" } */
4 typedef int veci
__attribute__ ((vector_size (4 * sizeof (int))));
6 void fun (veci a
, veci b
, veci
*i
)
8 veci c
= __builtin_shuffle (a
, b
, __extension__ (veci
) {1, 4, 2, 7});
9 *i
= __builtin_shuffle (c
, __extension__ (veci
) { 7, 2, 1, 5 });
12 /* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 3, 6, 0, 0 }" "dse1" } } */
13 /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 1 "dse1" } } */