From: "Martin Liška" <mliska@suse.cz>
To: David Malcolm <dmalcolm@redhat.com>, gcc-patches@gcc.gnu.org
Subject: [PATCH 1/2] Change comment style to one we normally use.
Date: Fri, 28 Apr 2017 12:30:00 -0000 [thread overview]
Message-ID: <b34dbf91-99d3-b9fe-d57a-071149cde8c8@suse.cz> (raw)
In-Reply-To: <1489715500-63153-1-git-send-email-dmalcolm@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
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
[-- Attachment #2: 0001-Change-comment-style-to-one-we-normally-use.patch --]
[-- Type: text/x-patch, Size: 5960 bytes --]
From 3867980352bd1a666395470c5ff138d1d545b311 Mon Sep 17 00:00:00 2001
From: marxin <mliska@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 <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.
---
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
next prev parent reply other threads:[~2017-04-28 12:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-31 22:11 [PATCH] Support multiline GTY markers in Doxygen filter; add unittests David Malcolm
2013-11-01 15:16 ` Diego Novillo
2017-03-17 1:21 ` [PATCH 1/2] Port Doxygen support script from Perl to Python; " David Malcolm
2017-03-17 1:21 ` [PATCH 2/2] filter_params.py: GTY fix and other cleanups David Malcolm
2017-04-28 12:25 ` [PATCH 1/2] Port Doxygen support script from Perl to Python; add unittests Martin Liška
2017-05-03 9:49 ` [PATCH] Doxygen: add default location for filters and output folder Martin Liška
2017-05-31 12:43 ` [PATCH 1/2] Port Doxygen support script from Perl to Python; add unittests Martin Liška
2017-04-28 12:30 ` Martin Liška [this message]
2017-04-28 12:41 ` [PATCH 2/2] Doxygen: transform ENUM_BITFIELD and comments starting with '/**' Martin Liška
2017-04-29 2:57 ` [PING] Re: [PATCH 1/2] Port Doxygen support script from Perl to Python; add unittests David Malcolm
2017-05-19 9:14 ` Martin Liška
2017-05-26 19:35 ` [PING^2] " David Malcolm
2017-05-31 14:07 ` [PATCH] " Martin Liška
2017-05-31 14:10 ` Martin Liška
2017-05-31 14:13 ` Martin Liška
2017-06-22 12:45 ` Martin Liška
2017-06-28 4:41 ` Jeff Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b34dbf91-99d3-b9fe-d57a-071149cde8c8@suse.cz \
--to=mliska@suse.cz \
--cc=dmalcolm@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).