aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 22:08:16 +0000
committerTobias Grosser <grosser@gcc.gnu.org>2009-11-30 22:08:16 +0000
commit7c246f5e3b3614abcaf4ce2fe8fa0d67f329491c (patch)
treeff12f4e738c5679eac8148d057c55bc601b4fcb0 /gcc
parent0dd91484ecd508f2a9f06a65dbba1a5bc08902d0 (diff)
downloadgcc-7c246f5e3b3614abcaf4ce2fe8fa0d67f329491c.zip
gcc-7c246f5e3b3614abcaf4ce2fe8fa0d67f329491c.tar.gz
gcc-7c246f5e3b3614abcaf4ce2fe8fa0d67f329491c.tar.bz2
Fix comments.
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. From-SVN: r154850
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog.graphite5
-rw-r--r--gcc/graphite-clast-to-gimple.c18
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 3795f6fa..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.