testsuite: Add vect_floatint_cvt to gcc.dg/vect/pr56541.c
authorRobin Dapp <rdapp@linux.ibm.com>
Thu, 6 May 2021 13:52:48 +0000 (15:52 +0200)
committerRobin Dapp <rdapp@linux.ibm.com>
Thu, 6 May 2021 14:15:38 +0000 (16:15 +0200)
pr56541.c converts a float vector to an int (bool) vector.  Add
vect_floatint_cvt in order to select the right targets.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/pr56541.c: Add vect_floatint_cvt.

gcc/testsuite/gcc.dg/vect/pr56541.c

index d5def68..e1cee6d 100644 (file)
@@ -24,4 +24,4 @@ void foo()
     }
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { ! vect_cond_mixed } } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect_floatint_cvt } xfail { ! vect_cond_mixed } } } } */