Fix test failing on sparc

SPARC does not support vectorizing conditions, which this test relies
on. Use vect_condition as effective target.

Committed as obvious.

PR testsuite/116500

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/vect-switch-ifcvt-1.c: Use vect_condition to
	check if vectorizing conditions is supported for target.
This commit is contained in:
Andi Kleen
2024-08-27 16:45:26 -07:00
parent 48032f28ad
commit ffb00a0da4

View File

@@ -1,4 +1,4 @@
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_condition } */
#include "tree-vect.h"
extern void abort (void);