public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 00/11] OpenMP: Deep struct dereferences
@ 2021-10-01 17:07 Julian Brown
  2021-10-01 17:07 ` [PATCH 01/11] libgomp: Release device lock on cbuf error path Julian Brown
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Julian Brown @ 2021-10-01 17:07 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek, Chung-Lin Tang, Thomas Schwinge

This is a series of patches to support deep struct dereferences for
OpenMP 5.0 (i.e. with multiple arrow operators,
"a->b[foo]->c[lo:hi]"). Apart from a couple of general bug fixes, the
main parts of this comprise:

  1. Topological sorting of OMP clauses by base pointer dependencies.

  2. Hoisting of struct sibling list handling out of
     gimplify_scan_omp_clauses.

These patches replace and continue from the last part of the
previously-posted series:

  https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577219.html

and (still) depend on the parts of 1 through 7 of that series.

The patches have been bootstrapped & regression tested individually with
offloading to NVPTX (though some prior to the most recent rebase).

OK?

Thanks,

Julian

Julian Brown (11):
  libgomp: Release device lock on cbuf error path
  Remove base_ind/base_ref handling from extract_base_bit_offset
  OpenMP 5.0: Clause ordering for OpenMP 5.0 (topological sorting by
    base pointer)
  Remove omp_target_reorder_clauses
  OpenMP/OpenACC: Hoist struct sibling list handling in gimplification
  OpenMP: Allow array ref components for C & C++
  OpenMP: Fix non-zero attach/detach bias for struct dereferences
  Not for committing: noisy topological sorting output
  Not for committing: noisy sibling-list handling output
  Not for committing: noisy mapping-group taxonomy
  OpenMP/OpenACC: [WIP] Add gcc_unreachable to apparently-dead path in
    build_struct_comp_nodes

 gcc/c-family/c-common.h                       |    1 +
 gcc/c-family/c-omp.c                          |   42 +
 gcc/c/c-typeck.c                              |   15 +-
 gcc/cp/semantics.c                            |   17 +-
 gcc/gimplify.c                                | 2479 ++++++++++++-----
 gcc/omp-low.c                                 |    7 +-
 gcc/testsuite/g++.dg/goacc/member-array-acc.C |    2 +-
 gcc/testsuite/g++.dg/gomp/target-3.C          |    4 +-
 gcc/testsuite/g++.dg/gomp/target-lambda-1.C   |    6 +-
 gcc/testsuite/g++.dg/gomp/target-this-2.C     |    2 +-
 gcc/testsuite/g++.dg/gomp/target-this-3.C     |    4 +-
 gcc/testsuite/g++.dg/gomp/target-this-4.C     |    4 +-
 libgomp/target.c                              |    5 +-
 libgomp/testsuite/libgomp.c++/baseptrs-3.C    |  182 ++
 .../libgomp.c-c++-common/baseptrs-1.c         |   50 +
 .../libgomp.c-c++-common/baseptrs-2.c         |   70 +
 16 files changed, 2151 insertions(+), 739 deletions(-)
 create mode 100644 libgomp/testsuite/libgomp.c++/baseptrs-3.C
 create mode 100644 libgomp/testsuite/libgomp.c-c++-common/baseptrs-1.c
 create mode 100644 libgomp/testsuite/libgomp.c-c++-common/baseptrs-2.c

-- 
2.29.2


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

end of thread, other threads:[~2021-10-12  9:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 17:07 [PATCH 00/11] OpenMP: Deep struct dereferences Julian Brown
2021-10-01 17:07 ` [PATCH 01/11] libgomp: Release device lock on cbuf error path Julian Brown
2021-10-12  9:23   ` Jakub Jelinek
2021-10-01 17:07 ` [PATCH 02/11] Remove base_ind/base_ref handling from extract_base_bit_offset Julian Brown
2021-10-12  9:27   ` Jakub Jelinek
2021-10-01 17:07 ` [PATCH 03/11] OpenMP 5.0: Clause ordering for OpenMP 5.0 (topological sorting by base pointer) Julian Brown
2021-10-01 17:07 ` [PATCH 04/11] Remove omp_target_reorder_clauses Julian Brown
2021-10-01 17:09 ` [PATCH 05/11] OpenMP/OpenACC: Hoist struct sibling list handling in gimplification Julian Brown
2021-10-01 17:16   ` Julian Brown
2021-10-01 17:09 ` [PATCH 06/11] OpenMP: Allow array ref components for C & C++ Julian Brown
2021-10-01 17:09 ` [PATCH 07/11] OpenMP: Fix non-zero attach/detach bias for struct dereferences Julian Brown
2021-10-11 14:49   ` Julian Brown
2021-10-01 17:09 ` [PATCH 08/11] Not for committing: noisy topological sorting output Julian Brown
2021-10-01 17:09 ` [PATCH 09/11] Not for committing: noisy sibling-list handling output Julian Brown
2021-10-01 17:10 ` [PATCH 10/11] Not for committing: noisy mapping-group taxonomy Julian Brown
2021-10-01 17:10 ` [PATCH 11/11] OpenMP/OpenACC: [WIP] Add gcc_unreachable to apparently-dead path in build_struct_comp_nodes Julian Brown

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