Debian Codegraph @

gcc/testsuite/gcc.dg/vect/bb-slp-div-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve } } */
3
4 int x[8];
5
6 void
7 f (void)
8 {
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;
17 }
18
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 *-*-* } } } */