public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Merge from graphite branch to trunk.
@ 2011-07-08 15:49 Sebastian Pop
  2011-07-08 15:49 ` [PATCH 3/3] Only update ChangeLog.graphite Sebastian Pop
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sebastian Pop @ 2011-07-08 15:49 UTC (permalink / raw)
  To: gcc-patches; +Cc: rguenther, tobias, Sebastian Pop

Hi, there was only one patch committed to the graphite branch that
matters to also have in trunk:

  Remove continue from loop, add one more assert.

The other patches are squashed into the two commits:

  Only update ChangeLog.graphite.

these are related to the graphite-opencl infrastructure and that is
not yet ready to be committed to trunk.

I am testing this patchset on amd64-linux and I will commit to trunk
once it passes regstrap.

Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] Only update ChangeLog.graphite.
  2011-07-08 15:49 [PATCH 0/3] Merge from graphite branch to trunk Sebastian Pop
@ 2011-07-08 15:49 ` Sebastian Pop
  2011-07-08 16:05 ` [PATCH 1/3] " Sebastian Pop
  2011-07-08 16:17 ` [PATCH 2/3] Remove continue from loop, add one more assert Sebastian Pop
  2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pop @ 2011-07-08 15:49 UTC (permalink / raw)
  To: gcc-patches; +Cc: rguenther, tobias, Sebastian Pop

---
 gcc/ChangeLog.graphite |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 628fb7e..b2c1b1c 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,25 @@
+2011-05-26  Alexey Kravets  <kayrick@ispras.ru>
+
+	PR middle-end/49147
+	* graphite-opencl-codegen.c
+	(opencl_get_perfect_nested_loop_depth): Use
+	enabled_dependency_in_clast_loop_p instead of
+	dependency_in_clast_loop_p.
+	* graphite-opencl.c (opencl_transform_stmt_list): Ditto.
+	(enabled_dependency_in_clast_loop_p): New.
+	* graphite-opencl.h (enabled_dependency_in_clast_loop_p): Export.
+
+	* gcc.dg/graphite/pr49147.c: New test.
+
+2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-opencl-codegen.c (opencl_print_local_vars): Fix typo.
+
+2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-dependences.c (graphite_outer_subscript_bound): Remove
+	memory leaks, add one more assert.
+
 2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* graphite-dependences.c (build_alias_set_powerset): Remove
-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/3] Only update ChangeLog.graphite.
  2011-07-08 15:49 [PATCH 0/3] Merge from graphite branch to trunk Sebastian Pop
  2011-07-08 15:49 ` [PATCH 3/3] Only update ChangeLog.graphite Sebastian Pop
@ 2011-07-08 16:05 ` Sebastian Pop
  2011-07-08 16:17 ` [PATCH 2/3] Remove continue from loop, add one more assert Sebastian Pop
  2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pop @ 2011-07-08 16:05 UTC (permalink / raw)
  To: gcc-patches; +Cc: rguenther, tobias, Sebastian Pop

---
 gcc/ChangeLog.graphite |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index c3fd009..2a14fc4 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,30 @@
+2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-dependences.c (graphite_outer_subscript_bound): Remove
+	unused parameter.
+	* graphite-dependences.h (graphite_outer_subscript_bound): Same.
+	* graphite-opencl-meta-clast.c (opencl_set_meta_rw_flags): Update
+	call to graphite_outer_subscript_bound.
+	* graphite-opencl.c (opencl_get_indirect_size): Same.
+
+2011-05-24  Alexey Kravets  <kayrick@ispras.ru>
+
+	* graphite-opencl.c (opencl_private_var_name_p): Removed.
+	(graphite_artificial_array_p): Removed.
+	(opencl_data_create): Use zero_dim_array_p instead of
+	graphite_artificial_array_p.
+
+2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-opencl.c (opencl_create_function_call): Use cl_khr_fp64
+	pragma extension only when it is defined.  Use cl_amd_fp64 when it
+	is defined.
+
+2011-01-23  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* doc/install.texi: Replace '/' by an or and give the exact
+			    version number of cloog-0.16.1
+
 2011-01-20  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/3] Remove continue from loop, add one more assert.
  2011-07-08 15:49 [PATCH 0/3] Merge from graphite branch to trunk Sebastian Pop
  2011-07-08 15:49 ` [PATCH 3/3] Only update ChangeLog.graphite Sebastian Pop
  2011-07-08 16:05 ` [PATCH 1/3] " Sebastian Pop
@ 2011-07-08 16:17 ` Sebastian Pop
  2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Pop @ 2011-07-08 16:17 UTC (permalink / raw)
  To: gcc-patches; +Cc: rguenther, tobias, Sebastian Pop

2011-07-08  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (build_alias_set_powerset): Remove
	continue from loop, add one more assert.
---
 gcc/ChangeLog              |    5 +++++
 gcc/ChangeLog.graphite     |    5 +++++
 gcc/graphite-dependences.c |   15 ++++++---------
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1cb2ce0..d207316 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-08  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* graphite-dependences.c (build_alias_set_powerset): Remove
+	continue from loop, add one more assert.
+
 2011-07-08  Richard Guenther  <rguenther@suse.de>
 
 	* fold-const.c (fold_binary_loc): Remove index +p PTR -> PTR +p index
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 2a14fc4..628fb7e 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,10 @@
 2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
 
+	* graphite-dependences.c (build_alias_set_powerset): Remove
+	continue from loop, add one more assert.
+
+2011-05-24  Sebastian Pop  <sebastian.pop@amd.com>
+
 	* graphite-dependences.c (graphite_outer_subscript_bound): Remove
 	unused parameter.
 	* graphite-dependences.h (graphite_outer_subscript_bound): Same.
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index b9b1d1b..081aa69 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -171,19 +171,16 @@ build_alias_set_powerset (ppl_Pointset_Powerset_C_Polyhedron_t alias_powerset,
 {
   ppl_dimension_type *ds;
   ppl_dimension_type access_dim;
-  unsigned i, pos = 0;
+  unsigned i, pos;
 
   ppl_Pointset_Powerset_C_Polyhedron_space_dimension (alias_powerset,
 						      &access_dim);
-  ds = XNEWVEC (ppl_dimension_type, access_dim-1);
-  for (i = 0; i < access_dim; i++)
-    {
-      if (i == alias_dim)
-	continue;
+  ds = XNEWVEC (ppl_dimension_type, access_dim - 1);
+  gcc_assert (alias_dim < access_dim);
 
-      ds[pos] = i;
-      pos++;
-    }
+  for (pos = 0, i = 0; i < access_dim; i++)
+    if (i != alias_dim)
+      ds[pos++] = i;
 
   ppl_Pointset_Powerset_C_Polyhedron_remove_space_dimensions (alias_powerset,
 							      ds,
-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-08 15:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 15:49 [PATCH 0/3] Merge from graphite branch to trunk Sebastian Pop
2011-07-08 15:49 ` [PATCH 3/3] Only update ChangeLog.graphite Sebastian Pop
2011-07-08 16:05 ` [PATCH 1/3] " Sebastian Pop
2011-07-08 16:17 ` [PATCH 2/3] Remove continue from loop, add one more assert Sebastian Pop

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).