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.

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 *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1
"vect" { xfail vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */

Reply via email to