Hi,
Test gcc.dg/vect/vect-cond-2.c can be vectorized by GCC now, this patch drops
the xfail.
Thanks,
bin
gcc/testsuite/ChangeLog
2016-11-04 Bin Cheng <bin.ch...@arm.com>
* gcc.dg/vect/vect-cond-2.c: Drop xfail.
diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
index 9a62856..d7da803 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-cond-2.c
@@ -39,8 +39,6 @@ int main (void)
return 0;
}
-/* The order of computation should not be changed for cond_expr, therefore,
- it cannot be vectorized in reduction. */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail
*-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */