public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/65458] parloops transforms omp-thread functions
Date: Sat, 21 Mar 2015 12:55:00 -0000	[thread overview]
Message-ID: <bug-65458-4-h3Ihfyqpa0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65458-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65458

--- Comment #4 from vries at gcc dot gnu.org ---
Author: vries
Date: Sat Mar 21 10:14:10 2015
New Revision: 221551

URL: https://gcc.gnu.org/viewcvs?rev=221551&root=gcc&view=rev
Log:
Mark omp thread functions as parallelized

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

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/cgraph.c
    trunk/gcc/cgraph.h
    trunk/gcc/lto-cgraph.c
    trunk/gcc/omp-low.c
    trunk/gcc/tree-parloops.c


  parent reply	other threads:[~2015-03-21 10:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18  7:45 [Bug tree-optimization/65458] New: parloops transforms omp-generated functions vries at gcc dot gnu.org
2015-03-18 11:28 ` [Bug tree-optimization/65458] parloops transforms omp-thread functions rguenth at gcc dot gnu.org
2015-03-19  7:27 ` vries at gcc dot gnu.org
2015-03-21 12:55 ` vries at gcc dot gnu.org [this message]
2015-03-21 13:02 ` vries at gcc dot gnu.org
2015-03-22  8:53 ` vries at gcc dot gnu.org

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=bug-65458-4-h3Ihfyqpa0@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).