libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-div-1.c
blob1eea9233b701fa775bd3e986c409aca333eae179
1 /* { dg-do compile } */
2 /* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve } } */
4 int x[8];
6 void
7 f (void)
9 x[0] /= 2;
10 x[1] /= 3;
11 x[2] /= 4;
12 x[3] /= 5;
13 x[4] /= 6;
14 x[5] /= 7;
15 x[6] /= 8;
16 x[7] /= 9;
19 /* We can vectorize the store from a CTOR built from scalar division
20 results but ideally we'd like to see vectorizing the load and the
21 division as well. */
22 /* { dg-final { scan-tree-dump "transform load" "slp2" { xfail *-*-* } } } */