aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attributes-enum-1.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-05-22 09:00:28 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-05-22 09:00:28 +0000
commitafbe632536736558f24680aa2c4c00b2d451e0b6 (patch)
treed0eacad77020a0aa1c97435bd56829e44fc17a26 /gcc/testsuite/c-c++-common/attributes-enum-1.c
parent328dc4771b6a34b8630f6508577d10d5ea1774a2 (diff)
downloadgcc-afbe632536736558f24680aa2c4c00b2d451e0b6.zip
gcc-afbe632536736558f24680aa2c4c00b2d451e0b6.tar.gz
gcc-afbe632536736558f24680aa2c4c00b2d451e0b6.tar.bz2
tree-vect-loop.c (get_reduction_op): New function.
2015-05-22 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (get_reduction_op): New function. (vect_model_reduction_cost): Use it, add reduc_index parameter. Make ready for BB reductions. (vect_create_epilog_for_reduction): Use get_reduction_op. (vectorizable_reduction): Init reduc_index to a valid value. Adjust vect_model_reduction_cost call. * tree-vect-slp.c (vect_get_constant_vectors): Use the proper operand for reduction defaults. Add SAD_EXPR support. Assert we have a neutral op for SLP reductions. * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): When walking pattern stmt ops only recurse to SSA names. From-SVN: r223526
Diffstat (limited to 'gcc/testsuite/c-c++-common/attributes-enum-1.c')
0 files changed, 0 insertions, 0 deletions