1 /* { dg-require-effective-target vect_int } */
8 __attribute__ ((noinline
))
9 int main1 (int a
, int b
)
14 /* Multidimensional array. Aligned. The "inner" dimensions
15 are invariant in the inner loop. Store.
16 Not vectorizable: unsupported operation. */
17 for (i
= 0; i
< N
; i
++)
19 for (j
= 0; j
< N
; j
++)
21 ia
[i
][1][j
+8] = (a
== b
);
26 for (i
= 0; i
< N
; i
++)
28 for (j
= 0; j
< N
; j
++)
30 if (ia
[i
][1][j
+8] != (a
== b
))
45 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
46 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
47 /* { dg-final { cleanup-tree-dump "vect" } } */