public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Schwinge <Thomas_Schwinge@mentor.com>
To: Tom de Vries <Tom_deVries@mentor.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>,
	Richard Biener <rguenther@suse.de>,
	Jakub Jelinek <jakub@redhat.com>
Subject: Re: [PATCH][3/3][PR65460] Mark offloaded functions as parallelized
Date: Wed, 25 Mar 2015 08:30:00 -0000	[thread overview]
Message-ID: <87fv8t5vjr.fsf@schwinge.name> (raw)
In-Reply-To: <550DF11B.4020703@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 4614 bytes --]

Hi Tom!

On Sat, 21 Mar 2015 23:30:51 +0100, Tom de Vries <Tom_deVries@mentor.com> wrote:
> On 20-03-15 12:38, Tom de Vries wrote:
> > On 19-03-15 12:05, Tom de Vries wrote:
> >> On 18-03-15 18:22, Tom de Vries wrote:
> >>> this patch fixes PR65460.
> >>>
> >>> The patch marks offloaded functions as parallelized, which means the parloops
> >>> pass no longer attempts to modify that function.
> >>
> >> Updated patch to postpone mark_parallelized_function until the corresponding
> >> cgraph_node is available, to ensure it works with the updated
> >> mark_parallelized_function from patch 2/3.
> >
> > Updated to eliminate mark_parallelized_function.
> >
> > Bootstrapped and reg-tested on x86_64.
> >
> > OK for stage4?
> 
> as requested, applied to gomp-4_0-branch.

Thanks!


Committed to gomp-4_0-branch in r221652:

commit 68c0851cb7ce420d5d938d7f0d9247adf79190a5
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Mar 25 08:28:09 2015 +0000

    Use ChangeLog.gomp on gomp-4_0-branch.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@221652 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog      |   34 ----------------------------------
 gcc/ChangeLog.gomp |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 34 deletions(-)

diff --git gcc/ChangeLog gcc/ChangeLog
index 48dca87..e474fc8 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,37 +1,3 @@
-2015-03-21  Tom de Vries  <tom@codesourcery.com>
-
-	PR tree-optimization/65460
-	* omp-low.c (expand_omp_target): Set parallelized_function on
-	cgraph_node for child_fn.
-
-2015-03-21  Tom de Vries  <tom@codesourcery.com>
-
-	backport from trunk:
-	2015-03-21  Tom de Vries  <tom@codesourcery.com>
-
-	PR tree-optimization/65458
-	* cgraph.c (cgraph_node::dump): Handle parallelized_function field.
-	* cgraph.h (cgraph_node): Add parallelized_function field.
-	* lto-cgraph.c (lto_output_node): Write parallelized_function field.
-	(input_overwrite_node): Read parallelized_function field.
-	* omp-low.c (expand_omp_taskreg, finalize_task_copyfn): Set
-	parallelized_function on cgraph_node for child_fn.
-	* tree-parloops.c: Add include of plugin-api.h, ipa-ref.h and cgraph.h.
-	Remove include of gt-tree-parloops.h.
-	(parallelized_functions): Remove static variable.
-	(parallelized_function_p): Rewrite using parallelized_function field of
-	cgraph_node.
-	(create_loop_fn): Remove adding to parallelized_functions.
-	* Makefile.in (GTFILES): Remove tree-parloops.c
-
-2015-03-21  Tom de Vries  <tom@codesourcery.com>
-
-	backport from trunk:
-	2015-03-18  Tom de Vries  <tom@codesourcery.com>
-
-	* tree-parloops.c (parallelize_loops): Make static.
-	* tree-parloops.h (parallelize_loops): Remove extern declaration.
-
 2015-03-11  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* config/nvptx/nvptx.h (LIBSTDCXX): Define to "gcc".
diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp
index 6ed6962..b499d04 100644
--- gcc/ChangeLog.gomp
+++ gcc/ChangeLog.gomp
@@ -1,3 +1,37 @@
+2015-03-21  Tom de Vries  <tom@codesourcery.com>
+
+	PR tree-optimization/65460
+	* omp-low.c (expand_omp_target): Set parallelized_function on
+	cgraph_node for child_fn.
+
+2015-03-21  Tom de Vries  <tom@codesourcery.com>
+
+	backport from trunk:
+	2015-03-21  Tom de Vries  <tom@codesourcery.com>
+
+	PR tree-optimization/65458
+	* cgraph.c (cgraph_node::dump): Handle parallelized_function field.
+	* cgraph.h (cgraph_node): Add parallelized_function field.
+	* lto-cgraph.c (lto_output_node): Write parallelized_function field.
+	(input_overwrite_node): Read parallelized_function field.
+	* omp-low.c (expand_omp_taskreg, finalize_task_copyfn): Set
+	parallelized_function on cgraph_node for child_fn.
+	* tree-parloops.c: Add include of plugin-api.h, ipa-ref.h and cgraph.h.
+	Remove include of gt-tree-parloops.h.
+	(parallelized_functions): Remove static variable.
+	(parallelized_function_p): Rewrite using parallelized_function field of
+	cgraph_node.
+	(create_loop_fn): Remove adding to parallelized_functions.
+	* Makefile.in (GTFILES): Remove tree-parloops.c
+
+2015-03-21  Tom de Vries  <tom@codesourcery.com>
+
+	backport from trunk:
+	2015-03-18  Tom de Vries  <tom@codesourcery.com>
+
+	* tree-parloops.c (parallelize_loops): Make static.
+	* tree-parloops.h (parallelize_loops): Remove extern declaration.
+
 2015-01-13  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* tree-core.h: Don't include "gomp-constants.h".


Grüße,
 Thomas

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

  reply	other threads:[~2015-03-25  8:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 17:22 Tom de Vries
2015-03-19 11:05 ` Tom de Vries
2015-03-20 11:38   ` Tom de Vries
2015-03-21 22:31     ` Tom de Vries
2015-03-25  8:30       ` Thomas Schwinge [this message]
2015-04-17 10:08     ` [PING][PATCH][3/3][PR65460] " Tom de Vries
2015-06-08 12:33       ` [PING^2][PATCH][3/3][PR65460] " Tom de Vries
2015-06-09 11:12         ` Richard Biener
2015-06-09 14:12           ` Tom de Vries
2015-06-09 23:46             ` Thomas Schwinge
2015-06-10  8:26               ` Tom de Vries

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=87fv8t5vjr.fsf@schwinge.name \
    --to=thomas_schwinge@mentor.com \
    --cc=Tom_deVries@mentor.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=rguenther@suse.de \
    /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).