1 /* { dg-require-effective-target vect_int } */
12 int ic
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
13 int ib
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
15 short sc
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
16 short sb
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
18 /* Not vectorizable yet (multiple types with different nunits in vector). */
19 for (i
= 0; i
< N
; i
++)
21 ia
[i
] = ib
[i
] + ic
[i
];
22 sa
[i
] = sb
[i
] + sc
[i
];
26 for (i
= 0; i
< N
; i
++)
28 if (ia
[i
] != ib
[i
] + ic
[i
] || sa
[i
] != sb
[i
] + sc
[i
])
42 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
43 /* { dg-final { cleanup-tree-dump "vect" } } */