1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec -O2 -Wall" } */
6 #define vector __attribute__((__vector_size__(16) ))
10 return (vector
int){t
,t
,t
,t
};
14 return (vector
int){4,4,4,4};
17 /* We should be able to materialize the constant vector without
18 any lvewx instructions as it is constant. */
19 /* { dg-final { scan-assembler-not "lvewx" } } */