[gomp4, committed] Implement -foffload-alias

2015-11-03 Thread Tom de Vries
[ was: Re: [gomp4, WIP] Implement -foffload-alias ] On 28/09/15 17:38, Tom de Vries wrote: Hi, this work-in-progress patch implements a new option -foffload-alias=. The option -foffload-alias=none instructs the compiler to assume that objects references and pointer dereferences in an offload

Re: [gomp4, committed] Implement -foffload-alias

2015-11-03 Thread Tom de Vries
On 03/11/15 15:19, Tom de Vries wrote: I've dropped the two testcases from this patch, I'll commit in a follow-up patch. Committed to gomp-4_0-branch, as attached. Thanks, - Tom Add goacc/kernels-loop-offload-alias-{none,ptr}.c 2015-11-03 Tom de Vries * c-c++-common/goacc/ke

Re: [PATCH, 2/2] Handle recursive restrict in function parameter

2015-11-03 Thread Tom de Vries
On 03/11/15 16:08, Richard Biener wrote: On Tue, 3 Nov 2015, Tom de Vries wrote: On 01/11/15 19:20, Tom de Vries wrote: On 01/11/15 19:03, Tom de Vries wrote: So, the new patch series is: 1Rename make_restrict_var_constraints to make_param_constraints 2Handle recursive

[trivial, committed] Use decl_type in create_variable_info_for_1

2015-11-04 Thread Tom de Vries
Hi, this patch uses the the decl_type variable more consistently in create_variable_info_for_1. Bootstrapped and reg-tested on x86_64. Committed to trunk as trivial. Thanks, - Tom Use decl_type in create_variable_info_for_1 2015-11-04 Tom de Vries * tree-ssa-structalias.c

[committed] Handle recursive restrict in function parameter

2015-11-04 Thread Tom de Vries
o change fieldoff size if there is a reason to;) Patch is ok along this line. Updated patch accordingly. Bootstrapped and reg-tested on x86_64. Committed to trunk as attached. Thanks, - Tom Handle recursive restrict in function parameter 2015-11-04 Tom de Vries PR tree-optimization

Re: [gomp4, committed] Implement -foffload-alias

2015-11-04 Thread Tom de Vries
tch, so this directive FAILs. Hi Thomas, thanks for noticing. Fixed as attached. Committed to gomp-4_0-branch. Thanks, - Tom Fixup goacc/kernels-loop-offload-alias-none.c 2015-11-04 Tom de Vries * c-c++-common/goacc/kernels-loop-offload-alias-none.c: Fix foo._omp_fn.0 function name sc

Re: [gomp4,committed] Handle recursive restrict in function parameter

2015-11-04 Thread Tom de Vries
On 03/11/15 14:58, Tom de Vries wrote: This patch adds handling of all the restrict qualifiers in the type of a function parameter. And committed to gomp-4_0-branch. I've reverted this patch, and backported the version from trunk. Committed as attached. Thanks, - Tom [PATCH 1/2] R

[gomp4, committed] expand oacc kernels region at same time as oacc parallel region

2015-11-05 Thread Tom de Vries
Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the need to postpone splitting off the k

[gomp4, committed, 1/9] Move expansion of kernels region back to first omp-expand

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 2/9] Update gate_oacc_kernels to handle oacc function

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 3/9] Revert "Add skip_stmt parm to pass_dominator::get_sese ()"

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 4/9] Revert "Add pass_dominator::sese_mode_p ()"

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 5/9] Handle oacc function in parloops

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 6/9] Update goacc kernels C testcases

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 7/9] Update goacc kernels Fortran testcases

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 8/9] Release_defs in expand_omp_atomic_fetch_op

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed, 9/9] Remove BUILT_IN_GOACC_KERNELS_INTERNAL

2015-11-05 Thread Tom de Vries
On 05/11/15 11:16, Tom de Vries wrote: Hi, now that we have committed -foffload-alias in gomp-4_0-branch ( https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00214.html ), we no longer need the kernels region to be a part of the original function when doing alias analysis. So, we no longer have the

[gomp4, committed] Revert omp_data_i init handling in copy_prop

2015-11-05 Thread Tom de Vries
Hi, this patch reverts omp_data_i init handling in copy_prop. Committed to gomp-4_0-branch. Thanks, - Tom Revert omp_data_i init handling in copy_prop 2015-11-05 Tom de Vries revert: 2015-04-21 Tom de Vries * tree-ssa-copy.c (stmt_may_generate_copy): Handle .omp_data_i init

[gomp4, committed] Remove gimple_stmt_omp_data_i_init_p

2015-11-05 Thread Tom de Vries
Hi, this patch: - removes a superfluous test on gimple_stmt_omp_data_i_init_p in tree-parloops.c - removes unused functions gimple_stmt_omp_data_i_init_p and get_omp_data_i. Committed to gomp-4_0-branch. Thanks, - Tom Remove gimple_stmt_omp_data_i_init_p 2015-11-05 Tom de Vries * omp

[gomp4, committed] Remove misc oacc kernels functions

2015-11-05 Thread Tom de Vries
Hi, this patch removes a number of unused function related to the oacc kernels region. Committed to gomp-4_0-branch. Thanks, - Tom Remove misc oacc kernels functions 2015-11-05 Tom de Vries * omp-low.c (get_bbs_in_oacc_kernels_region): (loop_get_oacc_kernels_region_entry

[gomp4, committed] Revert omp_data_i init handling in ccp and forwprop

2015-11-05 Thread Tom de Vries
Hi, This patch reverts the omp_data_i init handling in ccp and forwprop. Committed to gomp-4_0-branch. Thanks, - Tom Revert omp_data_i init handling in ccp and forwprop 2015-11-05 Tom de Vries Revert: 2015-04-21 Tom de Vries * tree-ssa-ccp.c: Include omp-low.h

[PATCH] Fix transform_to_exit_first_loop_alt with -g

2015-11-06 Thread Tom de Vries
tches/2015-07/msg00060.html ] Bootstrapped and reg-tested on x86_64. OK for trunk? Thanks, - Tom Fix transform_to_exit_first_loop_alt with -g 2015-11-06 Tom de Vries * tree-cfg.c (gimple_split_block_before_cond_jump): Split before cond_jump, instead of split after last nondebug insn b

[gomp4, committed] Revert "Add IFN_GOACC_DATA_END_WITH_ARG"

2015-11-06 Thread Tom de Vries
CC_DATA_END_WITH_ARG" 2015-10-05 Tom de Vries revert: 2015-05-28 Tom de Vries PR tree-optimization/65419 * cfgexpand.c (pass_data_expand): Add PROP_gimple_lompifn to properties_required field. * gimplify.c (gimplify_omp_workshare): Use IFN_GOACC_DATA_END_WITH_ARG instead of BUILT_

[gomp4, committed] Remove DEF_GOACC_BUILTIN_FNSPEC

2015-11-06 Thread Tom de Vries
[ was: Re: [gomp4, committed] Revert "Add IFN_GOACC_DATA_END_WITH_ARG" ] On 06/11/15 13:03, Tom de Vries wrote: Now that we've got -foffload-alias, we're no longer concerned about GOACC builtins being alias analysis optimization barriers, so the IFN_GOACC_DATA_END_WITH_

[gomp4, committed] Revert "Add dom_walker::walk_until"

2015-11-06 Thread Tom de Vries
Hi, this patch reverts the "Add dom_walker::walk_until" patch. The dom_walker::walk_until functionality is no longer required now that we've reverted pass_dominator::sese_mode_p. Committed to gomp-4_0-branch. Thanks, - Tom Revert "Add dom_walker::walk_until"

[gomp4, committed] Fix double word typo in tree-inline.c

2015-11-06 Thread Tom de Vries
Hi, reverting a patch in tree-inline.c in gomp-4_0-branch exposed a typo already fixed on trunk. This patch fixes that. Committed to gomp-4_0-branch. Thanks, - Tom 2015-11-06 Tom de Vries backport from trunk: 2015-07-12 Aldy Hernandez * tree-inline.c: Fix double word typos

[gomp4, committed] Revert "Use marked_independent in oacc kernels region"

2015-11-06 Thread Tom de Vries
based on marked_independent that in fact all loads and stores in the loop body are independent. Committed to gomp-4_0-branch. Thanks, - Tom Revert "Use marked_independent in oacc kernels region" 2015-10-20 Tom de Vries Revert: 2015-07-14 Tom de Vries * tree-parloops.c (pa

[gomp4, committed] Revert "Add c-c++-common/goacc/kernels-loop-nest-independent.c"

2015-11-06 Thread Tom de Vries
Hi, this patch revert a independent clause in oacc kernels region related test-case. Committed to gomp-4_0-branch. Thanks, - Tom Revert "Add c-c++-common/goacc/kernels-loop-nest-independent.c" 2015-10-2 Tom de Vries Revert: 2015-07-15 Tom de Vries * c-c++-common/goa

Revert "Add kernels-loop-nest-independent.f95"

2015-11-06 Thread Tom de Vries
Hi, this patch reverts aanother independent clause in oacc kernels region related test-case. Committed to gomp-4_0-branch. Thanks, - Tom Revert "Add kernels-loop-nest-independent.f95" 2015-07-15 Tom de Vries * gfortran.dg/goacc/kernels-loop-nest-independent.f95: New test. *

[gomp4, committed] Remove unused DEF_ATTR_FOR_STRING and DEF_ATTR_TREE_LIST

2015-11-06 Thread Tom de Vries
Hi, this patch removes some unused DEF_ATTR_FOR_STRING and DEF_ATTR_TREE_LIST. Committed to gomp-4_0-branch. Thanks, - Tom Remove unused DEF_ATTR_FOR_STRING and DEF_ATTR_TREE_LIST 2015-11-06 Tom de Vries * builtin-attrs.def (DOT_DOT_DOT_r_r_r, DOT_DOT_DOT_DOT_r_r_r): Remove unused

[gomp4, committed] Undo cgraph_node::release_body workaround

2015-11-07 Thread Tom de Vries
Hi, this patch removes a workaround that's no longer needed, now that we split off the kernels region at the first omp-expand pass. Committed to gomp-4_0-branch. Thanks, - Tom >From 5e9a609006b45c51598a3d52d5ab55b72a186f67 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 6 Nov

[gomp4, committed] Cleanup formatting of DEF_GOACC_BUILTINs

2015-11-07 Thread Tom de Vries
Hi, this patch removes formatting differences with trunk. Committed to gomp-4_0-branch. Thanks, - Tom >From a77fd266102498a909886cecde1b57adf9350d90 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 6 Nov 2015 22:11:08 +0100 Subject: [PATCH 2/4] Cleanup formatting of DEF_GOACC_BUILT

[gomp4, committed] Make formatting resemble trunk in f95-lang.c

2015-11-07 Thread Tom de Vries
Hi, this patch removes formatting differences with trunk. Committed to gomp-4_0-branch. Thanks, - Tom Make formatting resemble trunk in f95-lang.c 2015-11-07 Tom de Vries * f95-lang.c: Make formatting resemble trunk. --- gcc/fortran/f95-lang.c | 1 + 1 file changed, 1 insertion(+) diff

[gomp4, committed] Remove no_overflow_tree_code

2015-11-07 Thread Tom de Vries
Hi, this patch removes dead code from gomp-4_0-branch. Committed to gomp-4_0-branch. Thanks, - Tom Remove no_overflow_tree_code 2015-11-07 Tom de Vries * tree.c (no_overflow_tree_code): Remove. * tree.h (no_overflow_tree_code): Remove. --- gcc/tree.c | 24 gcc

[gomp4, committed] Revert "Add counter inits to zero_iter_bb in expand_omp_for_init_counts"

2015-11-07 Thread Tom de Vries
s to zero_iter_bb in expand_omp_for_init_counts" 2015-10-08 Tom de Vries revert: 2015-10-08 Tom de Vries * omp-low.c (expand_omp_for_init_counts): Add inits for counters in zero_iter_bb. (expand_omp_for_generic): Remove TREE_NO_WARNING setttings on counters. * gcc.dg/gomp/collapse-2.c: New

[gomp4, committed] Simplify get_omp_data_i_param

2015-11-08 Thread Tom de Vries
Hi, this patch simplifies get_omp_data_i_param by using ssa_default_def. Committed to gomp-4_0-branch. Thanks, - Tom Simplify get_omp_data_i_param 2015-11-08 Tom de Vries * tree-parloops.c: Include tree-dfa.h. (get_omp_data_i_param): Simplify using ssa_default_def. --- gcc/tree

[gomp4, committed] Insert IFN_GOACC_DIM_POS for oacc kernels call in parloops

2015-11-08 Thread Tom de Vries
Hi, this patch postpones insertion of the IFN_GOACC_DIM_POS call until we actually need it, in parloops. Committed to gomp-4_0-branch. Thanks, - Tom Insert IFN_GOACC_DIM_POS for oacc kernels call in parloops 2015-11-08 Tom de Vries * omp-low.c (lower_omp_target): Remove insertion of

Re: [OpenACC] internal fn folding

2015-11-08 Thread Tom de Vries
On 08/11/15 15:04, Thomas Schwinge wrote: Hi! On Thu, 5 Nov 2015 10:48:02 -0500, Nathan Sidwell wrote: >On 11/04/15 05:02, Bernd Schmidt wrote: > >On 11/02/2015 02:56 PM, Nathan Sidwell wrote: > >>On 10/28/15 14:40, Nathan Sidwell wrote: > >>>Richard, > >>>this patch adds folding for the ne

Re: Combined constructs' clause splitting

2015-11-08 Thread Tom de Vries
eing handled, hmm, maybe the Fortran front end is doing that differently? Ignore reduction clause on kernels directive 2015-11-08 Tom de Vries * c-omp.c (c_oacc_split_loop_clauses): Don't copy OMP_CLAUSE_REDUCTION, classify as loop clause. --- gcc/c-family/c-omp.c | 9 ++--- 1

[gomp4, committed] Add pass_dce in oacc kernels pass group

2015-11-08 Thread Tom de Vries
o gomp-4_0-branch. Thanks, - Tom Add pass_dce in oacc kernels pass group 2015-11-08 Tom de Vries * passes.def: Add pass_dce in oacc kernels pass group. * tree-parloops.c (dead_load_p): Remove. (ref_conflicts_with_region, oacc_entry_exit_ok_1): Remove handling of dead loads. * g++.dg/tree-ss

[gomp4,committed] Revert "Add pass_dominator::jump_threading_p ()"

2015-11-08 Thread Tom de Vries
Hi, this patch reverts the patch that added pass_dominator::jump_threading_p. We no longer require this functionality for the oacc kernels pass group. Committed to gomp-4_0-branch. Thanks, - Tom Revert "Add pass_dominator::jump_threading_p ()" 2015-11-08 Tom de Vries revert

[gomp4, committed] Add dominator_base::may_peel_loop_headers_p

2015-11-08 Thread Tom de Vries
dominator_base::may_peel_loop_headers_p 2015-11-08 Tom de Vries * tree-ssa-dom.c (dominator_base::may_peel_loop_headers_p) (pass_dominator::may_peel_loop_headers_p) (pass_dominator_oacc_kernels::may_peel_loop_headers_p):: New function. (dominator_base::execute): Use may_peel_loop_headers_p

[gomp4, committed] Remove omp-low.h include

2015-11-08 Thread Tom de Vries
Hi, this patch removes a superfluous include in tree-ssa-dom.c. Committed to gomp-4_0-branch. Thanks, - Tom Remove omp-low.h include 2015-11-08 Tom de Vries * tree-ssa-dom.c: Remove omp-low.h include. --- gcc/tree-ssa-dom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/tree-ssa

[gomp4, committed] Remove superfluous pass_expand_omp_ssa

2015-11-08 Thread Tom de Vries
uperfluous pass_expand_omp_ssa 2015-11-08 Tom de Vries * passes.def: Remove superfluous pass_expand_omp_ssa. --- gcc/passes.def | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/passes.def b/gcc/passes.def index 2420b3b..a7fd9a7 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -122,7 +122,6 @@ alon

[gomp4, committed] Cleanup formatting of pass_expand_omp_ssa::execute

2015-11-09 Thread Tom de Vries
Hi, this patch makes the formatting of pass_expand_omp_ssa::execute identical to the one in trunk. Committed to gomp-4_0-branch. Thanks, - Tom Cleanup formatting of pass_expand_omp_ssa::execute 2015-11-09 Tom de Vries * omp-low.c (pass_expand_omp_ssa::execute): Cleanup formatting

[gomp4, committed] Remove TODO_remove_unused_locals from todo_flags_finish of pass_data_expand_omp_ssa

2015-11-09 Thread Tom de Vries
emove TODO_remove_unused_locals from todo_flags_finish of pass_data_expand_omp_ssa 2015-11-09 Tom de Vries * omp-low.c (pass_data_expand_omp_ssa): Remove TODO_remove_unused_locals from todo_flags_finish. --- gcc/omp-low.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/omp-low.c b/gc

[gomp4, committed] Provide PROP_gimple_eomp unconditionally in pass_expand_omp

2015-11-09 Thread Tom de Vries
Hi, now that we don't postpone expanding the kernels region anymore, we can set PROP_gimple_eomp unconditionally. Committed to gomp-4_0-branch. Thanks, - Tom Provide PROP_gimple_eomp unconditionally in pass_expand_omp 2015-11-09 Tom de Vries * omp-low.c (pass_data_expand_omp)

[gomp4, committed] Remove ssa support in expand_omp_target

2015-11-09 Thread Tom de Vries
Hi, now that we don't postpone expanding the kernels region anymore, we don't need ssa support in expand_omp_target. Committed to gomp-4_0-branch. Thanks, - Tom Remove ssa support in expand_omp_target 2015-11-09 Tom de Vries * omp-low.c (release_first_vuse_in_edge_des

[PATCH series, 16] Use parloops to parallelize oacc kernels regions

2015-11-09 Thread Tom de Vries
enables accelerator testing (which is submitted at https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01771.html ). I'll post the individual patches in reply to this message. Thanks, - Tom --- 1 Insert new exit block only when needed in transform_to_exit_first_loop_alt 2015-06-30 Tom de

[PATCH, 1/16] Insert new exit block only when needed in transform_to_exit_first_loop_alt

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 2/16] Make create_parallel_loop return void

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 3/16] Ignore reduction clause on kernels directive

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 4/16] Implement -foffload-alias

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 5/16] Add in_oacc_kernels_region in struct loop

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 6/16] Add pass_oacc_kernels

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 7/16] Add pass_dominator_oacc_kernels

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 8/16] Add pass_ch_oacc_kernels

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 9/16] Add pass_parallelize_loops_oacc_kernels

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 11/16] Update testcases after adding kernels pass group

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 12/16] Handle acc loop directive

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 13/16] Add c-c++-common/goacc/kernels-*.c

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 14/16] Add gfortran.dg/goacc/kernels-*.f95

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 15/16] Add libgomp.oacc-c-c++-common/kernels-*.c

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

[PATCH, 16/16] Add libgomp.oacc-fortran/kernels-*.f95

2015-11-09 Thread Tom de Vries
On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1Insert new exit block only when needed in

Re: [PATCH, 8/16] Add pass_ch_oacc_kernels

2015-11-11 Thread Tom de Vries
On 09/11/15 19:33, Tom de Vries wrote: On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch series contains these patches: 1

[committed] gen-pass-instances.awk: Add emacs indent setting

2015-11-12 Thread Tom de Vries
indent setting 2015-11-11 Tom de Vries * gen-pass-instances.awk: Add emacs indent setting. --- gcc/gen-pass-instances.awk | 5 + 1 file changed, 5 insertions(+) diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk index f36f510..a0be6a1 100644 --- a/gcc/gen-pass

gen-pass-instances.awk: Remove unused var in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch removes an unused variable from handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Remove unused var in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line): Remove unused var line_length

[committed] gen-pass-instances.awk: Unify semicolon use in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch unifies semicolon use in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Unify semicolon use in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line): Unify semicolon use. --- gcc/gen-pass

[committed] gen-pass-instances.awk: Use early-out in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch restructures handle_line in gen-pass-instances.awk to use an early-out. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Use early-out in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line): Restructure using early-out

[committed] gen-pass-instances.awk: Add len_of_call var in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch adds a variable len_of_call in handle_line in gen-pass-instances.awk. It moves the use of the RLENGTH variable just after the related match call. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Add len_of_call var in handle_line 2015-11-11 Tom de Vries

[committed] gen-pass-instances.awk: Rename len_of_end to len_of_close in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch renames variable len_of_end to len_of_close in handle_line in gen-pass-instances.awk. Committed to trunk as obvious. Thanks, - Tom gen-pass-instances.awk: Rename len_of_end to len_of_close in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line

[committed] gen-pass-instances.awk: Add comments in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch adds some comments in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Add comments in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line): Add comments. --- gcc/gen-pass-instances.awk | 5

[committed] gen-pass-instances.awk: Add pass_num, prefix and postfix vars in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch adds new variables pass_num, prefix and postfix in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Add pass_num, prefix and postfix vars in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk

[committed] gen-pass-instances.awk: Make print command clearer in handle_line

2015-11-12 Thread Tom de Vries
command clearer in handle_line 2015-11-11 Tom de Vries * gen-pass-instances.awk (handle_line): Print parentheses and pass_name explicitly. --- gcc/gen-pass-instances.awk | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass

[committed] gen-pass-instances.awk: Rename var where to call_starts_at in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch renames the rather generic variable 'where' to the more specific 'call_starts_at' in handle_line in gen-pass-instances.awk. Committed as to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Rename var where to call_starts_at in handle_line 2015

[committed] gen-pass-instances.awk: Simplify init of postfix_starts_at in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch simplifies the initialization of postfix_starts_at in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Simplify init of postfix_starts_at in handle_line 2015-11-12 Tom de Vries * gen-pass-instances.awk

[committed] gen-pass-instances.awk: Simplify match regexp in handle_line

2015-11-12 Thread Tom de Vries
Hi, this patch simplifies the match regexp in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Simplify match regexp in handle_line 2015-11-12 Tom de Vries * gen-pass-instances.awk (handle_line): Simplify match regexp

[RFC] Remove first_pass_instance from pass_vrp

2015-11-12 Thread Tom de Vries
Hi, [ See also related discussion at https://gcc.gnu.org/ml/gcc-patches/2012-07/msg00452.html ] this patch removes the usage of first_pass_instance from pass_vrp. the patch: - limits itself to pass_vrp, but my intention is to remove all usage of first_pass_instance - lacks an update to gdbh

Re: [RFC] Remove first_pass_instance from pass_vrp

2015-11-12 Thread Tom de Vries
On 12/11/15 13:26, Richard Biener wrote: On Thu, Nov 12, 2015 at 12:37 PM, Tom de Vries wrote: Hi, [ See also related discussion at https://gcc.gnu.org/ml/gcc-patches/2012-07/msg00452.html ] this patch removes the usage of first_pass_instance from pass_vrp. the patch: - limits itself to

Re: [PATCH, 11/16] Update testcases after adding kernels pass group

2015-11-12 Thread Tom de Vries
On 11/11/15 12:03, Richard Biener wrote: On Mon, 9 Nov 2015, Tom de Vries wrote: On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch

Re: [PATCH, 4/16] Implement -foffload-alias

2015-11-12 Thread Tom de Vries
On 11/11/15 12:00, Jakub Jelinek wrote: On Wed, Nov 11, 2015 at 11:51:02AM +0100, Richard Biener wrote: The option -foffload-alias=pointer instructs the compiler to assume that objects references in an offload region do not alias. The option -foffload-alias=all instructs the compiler to make no

Re: [committed] gen-pass-instances.awk: Simplify match regexp in handle_line

2015-11-13 Thread Tom de Vries
On 13/11/15 09:58, Thomas Schwinge wrote: Hi Tom! As I happend to see this, and have a number of older build trees around: On Thu, 12 Nov 2015 11:09:04 +0100, Tom de Vries wrote: this patch [and another dozen of such patches before] simplifies [...] in gen-pass-instances.awk. Committed to

Re: [PATCH, 4/16] Implement -foffload-alias

2015-11-13 Thread Tom de Vries
On 13/11/15 09:46, Richard Biener wrote: On Thu, 12 Nov 2015, Tom de Vries wrote: On 11/11/15 12:00, Jakub Jelinek wrote: On Wed, Nov 11, 2015 at 11:51:02AM +0100, Richard Biener wrote: The option -foffload-alias=pointer instructs the compiler to assume that objects references in an offload

[committed] gen-pass-instances.awk: Add args_str var in handle_line

2015-11-13 Thread Tom de Vries
Hi, this patch adds variable args_str in handle_line in gen-pass-instances.awk. Committed to trunk as trivial. Thanks, - Tom gen-pass-instances.awk: Add args_str var in handle_line 2015-11-13 Tom de Vries * gen-pass-instances.awk (handle_line): Add args_str variable. --- gcc/gen-pass

[committed] gen-pass-instances.awk: Rename prefix_len var to len_of_prefix in handle_line

2015-11-13 Thread Tom de Vries
-11-13 Tom de Vries * gen-pass-instances.awk (handle_line): Rename prefix_len var to len_of_prefix. --- gcc/gen-pass-instances.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/gen-pass-instances.awk b/gcc/gen-pass-instances.awk index 88bbb4d..9cff429 100644

[PATCH] Remove first_pass_instance from pass_vrp

2015-11-13 Thread Tom de Vries
On 13/11/15 11:35, Richard Biener wrote: On Thu, Nov 12, 2015 at 4:33 PM, David Malcolm wrote: On Thu, 2015-11-12 at 15:06 +0100, Richard Biener wrote: On Thu, Nov 12, 2015 at 3:04 PM, Richard Biener wrote: On Thu, Nov 12, 2015 at 2:49 PM, Tom de Vries wrote: On 12/11/15 13:26, Richard

Re: [PATCH] Remove first_pass_instance from pass_vrp

2015-11-13 Thread Tom de Vries
On 13/11/15 15:12, David Malcolm wrote: On Fri, 2015-11-13 at 14:57 +0100, Tom de Vries wrote: 2015-11-13 Tom de Vries * gdbhooks.py (class PassNames): Handle extra arg NEXT_PASS argument. * gen-pass-instances.awk (handle_line): Same. * pass_manager.h (class

Re: [PATCH] Preserve the original program while using graphite

2015-11-13 Thread Tom de Vries
On 11/11/15 23:54, Aditya Kumar wrote: Earlier, graphite used to translate portions of the original program after scop-detection in order to represent the SCoP into polyhedral model. This was required because each basic block was represented as independent basic block in the polyhedral model. So

Re: [PATCH] Remove first_pass_instance from pass_vrp

2015-11-14 Thread Tom de Vries
On 13/11/15 14:57, Tom de Vries wrote: I've implemented the set_arg scenario, though I've renamed it to set_pass_param. I've also added a parameter number argument to set_pass_param. Furthermore, I've included the gdbhooks.py update. OK for trunk if bootstrap and reg-test

[PATCH, 0/6] Remove first_pass_instance

2015-11-15 Thread Tom de Vries
[ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1 Remove first_pass_instance from pass_vrp 2 Remove first_pass_instance from pass_reassoc 3 Remove first_pass_instance from pass_dominator 4 Remove first_pass_inst

[PATCH, 2/6] Remove first_pass_instance from pass_reassoc

2015-11-15 Thread Tom de Vries
On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from pass_vrp 2Remove first_pass_instance from pass_reassoc 3Remove first_pass_instance

[PATCH, 3/6] Remove first_pass_instance from pass_dominator

2015-11-15 Thread Tom de Vries
On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from pass_vrp 2Remove first_pass_instance from pass_reassoc 3Remove first_pass_instance

[PATCH, 4/6] Remove first_pass_instance from pass_object_sizes

2015-11-15 Thread Tom de Vries
On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from pass_vrp 2Remove first_pass_instance from pass_reassoc 3Remove first_pass_instance

[PATCH, 5/6] Remove first_pass_instance from pass_ccp

2015-11-15 Thread Tom de Vries
On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from pass_vrp 2Remove first_pass_instance from pass_reassoc 3Remove first_pass_instance

[PATCH, 6/6] Remove first_pass_instance

2015-11-15 Thread Tom de Vries
On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from pass_vrp 2Remove first_pass_instance from pass_reassoc 3Remove first_pass_instance

Re: [PATCH, 6/6] Remove first_pass_instance

2015-11-15 Thread Tom de Vries
On 15/11/15 16:24, David Malcolm wrote: On Sun, 2015-11-15 at 12:08 +0100, Tom de Vries wrote: On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes first_pass_instance. 1Remove first_pass_instance from

Re: [PATCH, 6/6] Remove first_pass_instance

2015-11-15 Thread Tom de Vries
[ Adding CC Le-Chun Wu ] On 15/11/15 17:22, Tom de Vries wrote: On 15/11/15 16:24, David Malcolm wrote: On Sun, 2015-11-15 at 12:08 +0100, Tom de Vries wrote: On 15/11/15 11:55, Tom de Vries wrote: [ was: Re: [PATCH] Remove first_pass_instance from pass_vrp ] This patch series removes

Re: [PATCH, 5/16] Add in_oacc_kernels_region in struct loop

2015-11-16 Thread Tom de Vries
On 11/11/15 11:55, Richard Biener wrote: On Mon, 9 Nov 2015, Tom de Vries wrote: On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch

Re: [PATCH, 5/16] Add in_oacc_kernels_region in struct loop

2015-11-16 Thread Tom de Vries
On 11/11/15 11:55, Richard Biener wrote: On Mon, 9 Nov 2015, Tom de Vries wrote: On 09/11/15 16:35, Tom de Vries wrote: Hi, this patch series for stage1 trunk adds support to: - parallelize oacc kernels regions using parloops, and - map the loops onto the oacc gang dimension. The patch

<    1   2   3   4   5   6   7   8   9   10   >