re PR tree-optimization/49352 (-fcompare-debug failure with -O2 -ftree-vectorize)
PR tree-optimization/49352 * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at all, make sure loop_use_stmt after the loop is a def stmt of a used SSA_NAME that is the only one defined inside of the loop. Don't check for COND_EXPR and GIMPLE_BINARY_RHS. (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if check_reduction is true. Co-Authored-By: Ira Rosen <ira.rosen@linaro.org> From-SVN: r174982
Showing
gcc/testsuite/gcc.dg/vect/pr49352.c
0 → 100644
Please
register
or
sign in
to comment