Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / altivec-8.c
blob6668cf2db80cb0207b485b03e4dc85c0654c9212
1 /* Origin: Aldy Hernandez <aldyh@redhat.com> */
2 /* Test rs6000_legitimate_address. PRE_INC should be invalid. */
4 /* { dg-do compile { target powerpc*-*-* } } */
5 /* { dg-require-effective-target powerpc_altivec_ok } */
6 /* { dg-options "-maltivec" } */
8 #include <altivec.h>
10 vector signed short *hannah;
12 int
13 main ()
15 *hannah++ = __builtin_altivec_vspltish (5);
16 *hannah++ = __builtin_altivec_vspltish (6);
18 return 0;