Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/forwprop-19.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O -fdump-tree-forwprop1" } */ typedef int vec __attribute__((vector_size (4 * sizeof (int)))); void f (vec *x1, vec *x2) { vec m = { 1, 2, 3, 0 }; vec n = { 3, 0, 1, 2 }; vec y = __builtin_shuffle (*x1, *x2, n); vec z = __builtin_shuffle (y, m); *x1 = z; } /* { dg-final { scan-tree-dump-not "VEC_PERM_EXPR" "forwprop1" } } */