2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr68892.c
blob216883fc0c46fdcbf378dc55493cc21aa786f0a9
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fvect-cost-model=dynamic" } */
3 /* { dg-require-effective-target vect_double } */
5 double a[128][128];
6 double b[128];
8 void foo(void)
10 b[0] = a[0][0];
11 b[1] = a[1][0];
12 b[2] = a[2][0];
13 b[3] = a[3][0];
16 /* ??? The profitability check is not reached because we give up on the
17 gaps we access earlier. */
18 /* { dg-final { scan-tree-dump "not profitable" "slp2" { xfail *-*-* } } } */
19 /* { dg-final { scan-tree-dump-times "Basic block will be vectorized" 0 "slp2" } } */