aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-ifcombine.c
diff options
context:
space:
mode:
authorIra Rosen <ira.rosen@linaro.org>2011-05-18 11:27:51 +0000
committerIra Rosen <irar@gcc.gnu.org>2011-05-18 11:27:51 +0000
commitb010117a6c6ee5bc80e0b7d57df2533d2c813763 (patch)
tree63d6259a36cf4a5e8b5a741f419adf748426312f /gcc/tree-ssa-ifcombine.c
parente14c1050008ecece4bff253a54eac0f15a6467bb (diff)
downloadgcc-b010117a6c6ee5bc80e0b7d57df2533d2c813763.zip
gcc-b010117a6c6ee5bc80e0b7d57df2533d2c813763.tar.gz
gcc-b010117a6c6ee5bc80e0b7d57df2533d2c813763.tar.bz2
re PR tree-optimization/41881 (Complete unrolling (inner) versus vectorization of reduction)
PR tree-optimization/41881 * tree-vectorizer.h (struct _loop_vec_info): Add new field reduction_chains along with a macro for its access. * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. (destroy_loop_vec_info): Free reduction chains. (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. (vect_is_slp_reduction): New function. (vect_is_simple_reduction_1): Call vect_is_slp_reduction. (vect_create_epilog_for_reduction): Support SLP reduction chains. * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different definition types for reduction chains. (vect_supported_load_permutation_p): Don't allow permutations for reduction chains. (vect_analyze_slp_instance): Support reduction chains. (vect_analyze_slp): Try to build SLP instance from reduction chains. (vect_get_constant_vectors): Handle reduction chains. (vect_schedule_slp_instance): Mark the first statement of the reduction chain as reduction. From-SVN: r173856
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions