[patch, testsuite] Another fix for gcc.dg/vect/vect-cselim-1.c
Ira Rosen
IRAR@il.ibm.com
Sat Mar 26 17:29:00 GMT 2011
Hi,
vect-cselim-1.c contains strided memory accesses and is not vectorizable on
targets that do not support such accesses.
Tested on powerpc64-suse-linux. Committed as obvious.
Ira
testsuite/ChangeLog:
* gcc.dg/vect/vect-cselim-1.c: Fail on targets that don't support
strided accesses.
Index: vect-cselim-1.c
===================================================================
--- vect-cselim-1.c (revision 171457)
+++ vect-cselim-1.c (working copy)
@@ -82,5 +82,5 @@
return 0;
}
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1
"vect" { xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1
"vect" { xfail { vect_no_align || {! vect_strided } } } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
More information about the Gcc-patches
mailing list