From 67b8dbacf69243ffc6ac999fd4928af83fbf6c04 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 31 May 2017 16:07:59 +0200 Subject: [PATCH] Change comment style to one we normally use. 2017-05-31 Martin Liska * 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. From-SVN: r248740 --- gcc/ChangeLog | 17 +++++++++++++++++ gcc/tree-vect-loop.c | 12 ++++++------ gcc/tree-vect-stmts.c | 18 +++++++++--------- gcc/tree-vectorizer.h | 4 ++-- 4 files changed, 34 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c7b3de1dd8..707c71a778e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2017-05-31 Martin Liska + + * 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. + 2017-05-31 Alexander Monakov * passes.c (emergency_dump_function): New. diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 3133a968d69..d3ad0d5652e 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -4855,8 +4855,8 @@ vect_create_epilog_for_reduction (vec vect_defs, gimple *stmt, tree tmp; tree vec_elem_type; - /*** Case 1: Create: - v_out2 = reduc_expr */ + /* Case 1: Create: + v_out2 = reduc_expr */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -4931,7 +4931,7 @@ vect_create_epilog_for_reduction (vec 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 @@ -4982,7 +4982,7 @@ vect_create_epilog_for_reduction (vec vect_defs, gimple *stmt, } else { - /*** Case 3: Create: + /* Case 3: Create: s = extract_field for (offset = element_size; offset < vector_size; @@ -6080,7 +6080,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"); @@ -6508,7 +6508,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 74c9a113082..7490b08b454 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -2136,7 +2136,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) { @@ -2818,7 +2818,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"); @@ -3462,7 +3462,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"); @@ -4324,7 +4324,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); @@ -4722,7 +4722,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"); @@ -5093,7 +5093,7 @@ vectorizable_shift (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -5421,7 +5421,7 @@ vectorizable_operation (gimple *stmt, gimple_stmt_iterator *gsi, return true; } - /** Transform. **/ + /* Transform. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, @@ -5756,7 +5756,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); @@ -6743,7 +6743,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 a7f5c6e6f13..df8da9eb1fd 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -544,9 +544,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.30.2