1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-ccp1 -Wno-psabi -w" } */
3 /* { dg-additional-options "-msse2" { target i?86-*-* x86_64-*-* } } */
4 /* { dg-additional-options "-maltivec" { target powerpc_altivec_ok } } */
6 typedef int v4si
__attribute__((vector_size (4 * sizeof (int))));
8 v4si
test1 (v4si v
, int i
)
14 v4si
test2 (v4si v
, int i
)
21 v4si
test3 (v4si v
, int i
)
27 v4si
test4 (v4si v
, int i
)
35 /* { dg-final { scan-tree-dump-times "Now a gimple register: v" 4 "ccp1" { target { { i?86-*-* x86_64-*-* aarch64*-*-* spu*-*-* } || { powerpc_altivec_ok } } } } } */