libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr95839-v8.c
blobfea7f00fd6558eadfb40ffe5058b9696e8d2272d
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-require-effective-target vect64 } */
4 /* { dg-additional-options "-w -Wno-psabi" } */
6 typedef float __attribute__((vector_size(8))) v2f32;
8 v2f32 f(v2f32 a, v2f32 b)
10 /* Check that we vectorize this CTOR without any loads. */
11 return (v2f32){a[0] + b[0], a[1] + b[1]};
14 /* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */