PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-19.c
blob4d77138b2065fc1155fc9987ccce51a891fd0261
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" } } */