diff mbox

Update gcc.dg/vect/no-scevccp-outer-6-global.c

Message ID CAKSNEw5s+NGGCg3LZ_Trk9-0On4mMXzp91p8oe0otDXPNe0oEA@mail.gmail.com
State New
Headers show

Commit Message

Ira Rosen Nov. 1, 2011, 11:49 a.m. UTC
Hi,

With the recent patches for __restrict__, the outer loop in
gcc.dg/vect/no-scevccp-outer-6-global.c is now vectorizable, because
it doesn't require loop versioning for alias anymore.  The comment in
the test is probably obsolete, and checking for widen-mult doesn't
make much sense, because there is no multiplication here at all.

Tested on powerpc64-suse-linux.
Committed.

Ira

testsuite/ChangeLog:

        * gcc.dg/vect/no-scevccp-outer-6-global.c: Expect to vectorize
        the outer loop.  Remove comment.  Don't check for widen-mult.

+/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1
"vect" { xfail vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
diff mbox

Patch

Index: testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c
===================================================================
--- testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c   (revision 180733)
+++ testsuite/gcc.dg/vect/no-scevccp-outer-6-global.c   (working copy)
@@ -52,7 +52,5 @@ 
   return 0;
 }

-/* "Too many BBs in loop"  */
-/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1
"vect" { xfail *-*-* } } } */
-/* { dg-final { scan-tree-dump-times "vect_recog_widen_mult_pattern:
detected" 1 "vect" { xfail *-*-* } } } */