testsuite/vec: Fix vect-reduc-cond-[12].c for non vect_condition targets [PR121153]

I missed this when I added the two testcase vect-reduc-cond-[12].c. These testcases
require support of vectorization of `a ? b : c` which some targets (e.g. sparc) does
not support.

Pushed as obvious after a quick test.

	PR testsuite/121153
gcc/testsuite/ChangeLog:

	* gcc.dg/vect/vect-reduc-cond-1.c: Require vect_condition.
	* gcc.dg/vect/vect-reduc-cond-2.c: Likewise.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
This commit is contained in:
Andrew Pinski
2025-07-18 10:07:34 -07:00
parent a3a83cea00
commit f069bacbf5
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_condition } */
#include <stdarg.h>
#include "tree-vect.h"

View File

@ -1,4 +1,5 @@
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_condition } */
/* { dg-additional-options "-fdump-tree-ifcvt-details" } */
#include <stdarg.h>