1 /* PR target/52375 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_neon_ok } */
4 /* { dg-options "-march=armv7-a -mfloat-abi=softfp -mfpu=neon -O -ftree-vectorize" } */
5 
6 unsigned int output[4];
7 
test(unsigned short * p)8 void test (unsigned short *p)
9 {
10   unsigned int x = *p;
11   if (x)
12     {
13       output[0] = x << 1;
14       output[1] = x << 1;
15       output[2] = x << 1;
16       output[3] = x << 1;
17     }
18 }
19 
20