Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1" } */
3
4 typedef int vec __attribute__((vector_size (4 * sizeof (int))));
5 void f (vec *x1, vec *x2)
6 {
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;
12 }
13
14 /* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "dse1" } } */