Hi. First follow-up patch changes comment style in couple of locations so that filter_params.py can transform them to Doxygen style.
I verified that there's no compilation error caused by the patch. Ready for trunk, Martin
>From 3867980352bd1a666395470c5ff138d1d545b311 Mon Sep 17 00:00:00 2001 From: marxin <mli...@suse.cz> Date: Fri, 28 Apr 2017 13:49:01 +0200 Subject: [PATCH 1/2] Change comment style to one we normally use. gcc/ChangeLog: 2017-04-28 Martin Liska <mli...@suse.cz> * tree-vect-loop.c (vect_create_epilog_for_reduction): Change comment style to one we normally use. (vectorizable_reduction): Likewise. (vectorizable_induction): Likewise. * tree-vect-stmts.c (vectorizable_mask_load_store): Likewise. (vectorizable_call): Likewise. (vectorizable_simd_clone_call): Likewise. (vectorizable_conversion): Likewise. (vectorizable_assignment): Likewise. (vectorizable_shift): Likewise. (vectorizable_operation): Likewise. (vectorizable_store): Likewise. (vectorizable_load): Likewise. * tree-vectorizer.h: Likewise. --- gcc/tree-vect-loop.c | 12 ++++++------ gcc/tree-vect-stmts.c | 18 +++++++++--------- gcc/tree-vectorizer.h | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index af874e7ad8e..3bfb0652c9e 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -4851,8 +4851,8 @@ vect_create_epilog_for_reduction (vec<tree> vect_defs, gimple *stmt, tree tmp; tree vec_elem_type; - /*** Case 1: Create: - v_out2 = reduc_expr <v_out1> */ + /* Case 1: Create: + v_out2 = reduc_expr <v_out1> */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -4927,7 +4927,7 @@ vect_create_epilog_for_reduction (vec<tree> vect_defs, gimple *stmt, int elt_offset; tree zero_vec = build_zero_cst (vectype); - /*** Case 2: Create: + /* Case 2: Create: for (offset = nelements/2; offset >= 1; offset/=2) { Create: va' = vec_shift <va, offset> @@ -4978,7 +4978,7 @@ vect_create_epilog_for_reduction (vec<tree> vect_defs, gimple *stmt, } else { - /*** Case 3: Create: + /* Case 3: Create: s = extract_field <v_out2, 0> for (offset = element_size; offset < vector_size; @@ -6076,7 +6076,7 @@ vectorizable_reduction (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform reduction.\n"); @@ -6504,7 +6504,7 @@ vectorizable_induction (gimple *phi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform induction phi.\n"); diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 31349f2b9c1..0216ca76ff2 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -2133,7 +2133,7 @@ vectorizable_mask_load_store (gimple *stmt, gimple_stmt_iterator *gsi, } gcc_assert (memory_access_type == STMT_VINFO_MEMORY_ACCESS_TYPE (stmt_info)); - /** Transform. **/ + /* Transform. */ if (memory_access_type == VMAT_GATHER_SCATTER) { @@ -2814,7 +2814,7 @@ vectorizable_call (gimple *gs, gimple_stmt_iterator *gsi, gimple **vec_stmt, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform call.\n"); @@ -3458,7 +3458,7 @@ vectorizable_simd_clone_call (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform call.\n"); @@ -4319,7 +4319,7 @@ vectorizable_conversion (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform conversion. ncopies = %d.\n", ncopies); @@ -4716,7 +4716,7 @@ vectorizable_assignment (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "transform assignment.\n"); @@ -5086,7 +5086,7 @@ vectorizable_shift (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -5413,7 +5413,7 @@ vectorizable_operation (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -5748,7 +5748,7 @@ vectorizable_store (gimple *stmt, gimple_stmt_iterator *gsi, gimple **vec_stmt, } gcc_assert (memory_access_type == STMT_VINFO_MEMORY_ACCESS_TYPE (stmt_info)); - /** Transform. **/ + /* Transform. */ ensure_base_align (stmt_info, dr); @@ -6735,7 +6735,7 @@ vectorizable_load (gimple *stmt, gimple_stmt_iterator *gsi, gimple **vec_stmt, dump_printf_loc (MSG_NOTE, vect_location, "transform load. ncopies = %d\n", ncopies); - /** Transform. **/ + /* Transform. */ ensure_base_align (stmt_info, dr); diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 12bb904abee..892fd7a309f 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -572,9 +572,9 @@ typedef struct _stmt_vec_info { gimple *vectorized_stmt; - /** The following is relevant only for stmts that contain a non-scalar + /* The following is relevant only for stmts that contain a non-scalar data-ref (array/pointer/struct access). A GIMPLE stmt is expected to have - at most one such data-ref. **/ + at most one such data-ref. */ /* Information about the data-ref (access function, etc), relative to the inner-most containing loop. */ -- 2.12.2