tree-if-conv.c (is_cond_scalar_reduction): New function.
gcc/ * tree-if-conv.c (is_cond_scalar_reduction): New function. (convert_scalar_cond_reduction): Likewise. (predicate_scalar_phi): Add recognition and transformation of simple conditioanl reduction to be vectorizable. gcc/testsuite/ * gcc.dg/cond-reduc-1.c: New test. * gcc.dg/cond-reduc-2.c: Likewise. From-SVN: r209972
Showing
gcc/testsuite/gcc.dg/vect/cond-reduc-1.c
0 → 100644
gcc/testsuite/gcc.dg/vect/cond-reduc-2.c
0 → 100644
Please
register
or
sign in
to comment