PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-19.c
blobf309e3c7b4ecf64da879df9170e8cbd88a80bf06
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);
11 *x1 = z;
14 /* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */
15 /* { dg-final { cleanup-tree-dump "forwprop1" } } */