tree-vect-loop.c
176 KB
-
re PR tree-optimization/49352 (-fcompare-debug failure with -O2 -ftree-vectorize) · 29f85237
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
Jakub Jelinek committed