1 /* { dg-do compile } */
4 f (int *restrict x
, short *restrict y
)
6 x
[0] = x
[0] == 1 & y
[0] == 2;
7 x
[1] = x
[1] == 1 & y
[1] == 2;
8 x
[2] = x
[2] == 1 & y
[2] == 2;
9 x
[3] = x
[3] == 1 & y
[3] == 2;
10 x
[4] = x
[4] == 1 & y
[4] == 2;
11 x
[5] = x
[5] == 1 & y
[5] == 2;
12 x
[6] = x
[6] == 1 & y
[6] == 2;
13 x
[7] = x
[7] == 1 & y
[7] == 2;
16 /* { dg-final { scan-tree-dump-not "mixed mask and nonmask" "slp2" } } */
17 /* { dg-final { scan-tree-dump-not "vector operands from scalars" "slp2" { target { { vect_int && vect_bool_cmp } && { vect_unpack && vect_hw_misalign } } xfail { vect_variable_length && { { ! vect128 } && { ! vect256 } } } } } } */