Change comment style to one we normally use.
2017-05-31 Martin Liska <mliska@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. From-SVN: r248740
This commit is contained in:
parent
892c1fcec6
commit
67b8dbacf6
4 changed files with 34 additions and 17 deletions
|
@ -1,3 +1,20 @@
|
|||
2017-05-31 Martin Liska <mliska@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.
|
||||
|
||||
2017-05-31 Alexander Monakov <amonakov@ispras.ru>
|
||||
|
||||
* passes.c (emergency_dump_function): New.
|
||||
|
|
|
@ -4855,8 +4855,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,
|
||||
|
@ -4931,7 +4931,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>
|
||||
|
@ -4982,7 +4982,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;
|
||||
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue