diff mbox

Update gcc.dg/vect/vect-21.c

Message ID CAKSNEw42oV7tWNH3FTcgGh0n5b-+qJgzc9OgMZy-zCnhkXugLA@mail.gmail.com
State New
Headers show

Commit Message

Ira Rosen Oct. 17, 2011, 8:41 a.m. UTC
Hi,

With Jakub's patch for bool types the 3 loops in gcc.dg/vect/vect-21.c
are now vectorizable on targets that support vector conditions.

Tested on powerpc64-suse-linux.
Committed.

Ira

testsuite/ChangeLog:

   * gcc.dg/vect/vect-21.c: Expect the loops to get vectorized on
   targets that support vector condition.

access" 0 "vect" } } */

 /* { dg-final { cleanup-tree-dump "vect" } } */
diff mbox

Patch

Index: testsuite/gcc.dg/vect/vect-21.c
===================================================================
--- testsuite/gcc.dg/vect/vect-21.c     (revision 180075)
+++ testsuite/gcc.dg/vect/vect-21.c     (working copy)
@@ -123,7 +123,7 @@  int main (void)
   return main1 ();
 }

-/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" {
xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" {
target vect_condition } } } */
 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned