1 /* { dg-require-effective-target vect_int } */
7 unsigned short in
[N
+M
];
11 /* Outer-loop vectorization. */
12 /* Not vectorized due to multiple-types in the inner-loop. */
14 __attribute__ ((noinline
)) unsigned int
20 for (i
= 0; i
< N
; i
++) {
23 for (j
= 0; j
< M
; j
+=8) {
31 __attribute__ ((noinline
)) unsigned int
32 bar (int i
, unsigned int diff
, unsigned short *in
)
35 for (j
= 0; j
< M
; j
+=8) {
45 unsigned int s
=0,sum
=0;
49 for (i
= 0; i
< N
+M
; i
++) {
55 for (i
= 0; i
< N
; i
++) {
58 diff
= bar (i
, diff
, in
);
68 /* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail *-*-* } } } */