PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr79887.c
blob4a7d1b05b6574e249b439635e02909110048ca1a
1 /* Test for pr79887. */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_condition } */
4 /* { dg-additional-options "-fno-trapping-math --param vect-epilogues-nomask=1" } */
5 /* { dg-additional-options "-mavx512ifma" { target x86_64-*-* i?86-*-* } } */
7 void
8 foo (float a[32], float b[2][32])
10 int i;
11 for (i = 0; i < 32; i++)
12 a[i] = (b[0][i] > b[1][i]) ? b[0][i] : b[1][i];