public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Grosser <grosser@fim.uni-passau.de>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH 6/7] Fix comments.
Date: Mon, 30 Nov 2009 22:19:00 -0000	[thread overview]
Message-ID: <631a058d0e8d0cf6b86af1b21268fdbf52f07708.1259618689.git.grosser@fim.uni-passau.de> (raw)
In-Reply-To: <cover.1259618689.git.grosser@fim.uni-passau.de>
In-Reply-To: <cover.1259618689.git.grosser@fim.uni-passau.de>

From: grosser <grosser@138bc75d-0d04-0410-961f-82ee72b054a4>

2009-11-24  Tobias Grosser  <grosser@fim.uni-passau.de>

	* graphite-clast-to-gimple.c (try_mark_loop_parallel,
	graphite_create_new_loop_guard, translate_clast_for): Fix comments.
---
 gcc/ChangeLog.graphite         |    5 +++++
 gcc/graphite-clast-to-gimple.c |   18 +++++++++---------
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 863b0be..e9e9806 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,8 @@
+2009-11-24  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* graphite-clast-to-gimple.c (try_mark_loop_parallel,
+	graphite_create_new_loop_guard, translate_clast_for): Fix comments.
+
 2009-11-23  Tobias Grosser  <grosser@fim.uni-passau.de>
 
 	PR middle-end/42130
diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c
index 3795f6f..93138b6 100644
--- a/gcc/graphite-clast-to-gimple.c
+++ b/gcc/graphite-clast-to-gimple.c
@@ -754,8 +754,8 @@ translate_clast_user (sese region, struct clast_user_stmt *stmt, edge next_e,
 }
 
 /* Mark a loop parallel, if the graphite dependency check cannot find any
- * dependencies.  This triggers parallel code generation in the autopar pass.
- * */
+   dependencies.  This triggers parallel code generation in the autopar pass.
+   */
 static void
 try_mark_loop_parallel (sese region, loop_p loop, htab_t bb_pbb_mapping)
 {
@@ -772,7 +772,7 @@ static tree gcc_type_for_iv_of_clast_loop (struct clast_for *);
 
 
 /* Creates a new if region protecting the loop to be executed, if the execution
- * count is zero (lb > ub).  */
+   count is zero (lb > ub).  */
 static edge
 graphite_create_new_loop_guard (sese region, edge entry_edge,
 				struct clast_for *stmt,
@@ -788,10 +788,10 @@ graphite_create_new_loop_guard (sese region, edge entry_edge,
 				     newivs_index, params_index);
 
   /* XXX: Adding +1 and using LT_EXPR helps with loop latches that have a
-   * loop iteration count of "PARAMETER - 1".  For PARAMETER == 0 this becomes
-   * 2^{32|64}, and the condition lb <= ub is true, even if we do not want this.
-   * However lb < ub + 1 is false, as expected.
-   * There might be a problem with cases where ub is 2^32.  */
+     loop iteration count of "PARAMETER - 1".  For PARAMETER == 0 this becomes
+     2^{32|64}, and the condition lb <= ub is true, even if we do not want this.
+     However lb < ub + 1 is false, as expected.
+     There might be a problem with cases where ub is 2^32.  */
   tree one;
   Value gmp_one;
   value_init (gmp_one);
@@ -842,8 +842,8 @@ translate_clast_for_loop (sese region, struct clast_for *stmt, edge next_e,
 }
 
 /* Translates a clast for statement STMT to gimple.  First a guard is created
- * protecting the loop, if it is executed zero times.  In this guard we create
- * the real loop structure.
+   protecting the loop, if it is executed zero times.  In this guard we create
+   the real loop structure.
 
    - REGION is the sese region we used to generate the scop.
    - NEXT_E is the edge where new generated code should be attached.
-- 
1.6.5.3

      parent reply	other threads:[~2009-11-30 22:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 22:11 [PATCH 0/7] Fix SPEC2006 dealII with graphite enabled - committed Tobias Grosser
2009-11-30 22:11 ` [PATCH 5/7] Protect loops that might be executed zero times Tobias Grosser
2009-12-01 10:16   ` Richard Guenther
2009-12-01 10:19     ` Tobias Grosser
2009-11-30 22:11 ` [PATCH 4/7] Remove context_loop and level from translate_clast_* methods Tobias Grosser
2009-11-30 22:11 ` [PATCH 1/7] Do not abuse sese for codegeneration Tobias Grosser
2009-11-30 22:11 ` [PATCH 7/7] Correct testcase Tobias Grosser
2009-11-30 22:11 ` [PATCH 2/7] split translate_clast into single methods Tobias Grosser
2009-11-30 22:11 ` [PATCH 3/7] Simplify translate_clast_* methods Tobias Grosser
2009-11-30 22:19 ` Tobias Grosser [this message]

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=631a058d0e8d0cf6b86af1b21268fdbf52f07708.1259618689.git.grosser@fim.uni-passau.de \
    --to=grosser@fim.uni-passau.de \
    --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).