[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

[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

[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

[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

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

2015-11-12 Thread Tom de Vries
indent setting 2015-11-11 Tom de Vries <t...@codesourcery.com> * 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

[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 <t...@codesourcery.com> * gen-pass-instances.awk (handle_line): Restr

[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: 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 <t...@codesourcery.com> * ge

[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-11-12 Tom de Vries &l

[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 <t...@codesourcery.com> * ge

[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 <t...@codesourcery.com> * ge

[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 <t...@codesourcery.com> * gen-pass-instances.awk (handle_line): Unify sem

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 <t...@codesourcery.com> * gen-pass-instances.awk (handle_line):

[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 <t...@codesourcery.com> * gen-pass-instances.awk (handle_line): Si

[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 <t...@codesourcery.com> * gen-pass-instances.awk (handle_line): Add comments. --- g

[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 <t...@codesourcery.com> * 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/ge

[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

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 <tom_devr...@mentor.com> 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

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

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 passes? Bootstrap

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

[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

[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, 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

[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

Re: [PATCH, 7/16] Add pass_dominator_oacc_kernels

2015-11-16 Thread Tom de Vries
On 11/11/15 12:05, 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, 0/6] Remove first_pass_instance

2015-11-16 Thread Tom de Vries
On 16/11/15 13:09, Bernd Schmidt wrote: On 11/15/2015 11:55 AM, 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

[PATCH] Clear LOOP_CLOSED_SSA after pass_ccp

2015-11-16 Thread Tom de Vries
fails. This patch fixes that by noting in pass_ccp that it does not preserve loop-closed ssa. OK for trunk if bootstrap and reg-test succeeds? Thanks, - Tom Clear LOOP_CLOSED_SSA after pass_ccp 2015-11-16 Tom de Vries <t...@codesourcery.com> * tree-ssa-ccp.c (do_ssa_ccp):

[PATCH] Make fdump-tree-sccp-details more complete

2015-11-16 Thread Tom de Vries
if bootstrap and reg-test succeeds? Thanks, - Tom Make fdump-tree-sccp-details more complete 2015-11-16 Tom de Vries <t...@codesourcery.com> * tree-scalar-evolution.c (scev_const_prop): Dump details if replacing uses of ssa_name with constant. --- gcc/tree-scalar-evolution.

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

2015-11-16 Thread Tom de Vries
On 16/11/15 13:45, Richard Biener wrote: + NEXT_PASS (pass_scev_cprop); > > > >What's that for? It's supposed to help removing loops - I don't > >expect kernels to vanish. > >I'm using pass_scev_cprop for the "final value replacement" functionality. >Added comment. That

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

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

2015-11-16 Thread Tom de Vries
On 11/11/15 12:02, 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, 9/16] Add pass_parallelize_loops_oacc_kernels

2015-11-16 Thread Tom de Vries
On 09/11/15 20:52, 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

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, 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

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

[PATCH] Improve comments in pass_tree_loop_init::execute

2015-11-17 Thread Tom de Vries
, - Tom Improve comments in pass_tree_loop_init::execute 2015-11-17 Tom de Vries <t...@codesourcery.com> * tree-ssa-loop.c (pass_tree_loop_init::execute): Improve comments. --- gcc/tree-ssa-loop.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/tr

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

2015-11-17 Thread Tom de Vries
On 17/11/15 11:05, Richard Biener wrote: On Tue, Nov 17, 2015 at 12:20 AM, Tom de Vries <tom_devr...@mentor.com> wrote: On 16/11/15 13:45, Richard Biener wrote: + NEXT_PASS (pass_scev_cprop); What's that for? It's supposed to help removing loops - I don't expect k

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

2015-11-17 Thread Tom de Vries
On 17/11/15 16:18, Richard Biener wrote: IMHO autopar needs to handle induction itself. > >I'm not sure what you mean. Could you elaborate? Autopar handles induction >variables, but it doesn't handle exit phis reading the final value of the >induction variable. Is that what you want fixed?

[gomp4, committed] Remove TODO_remove_unused_locals from todo_flags_finish of pass_data_expand_omp_ssa

2015-11-09 Thread Tom de Vries
TODO_remove_unused_locals from todo_flags_finish of pass_data_expand_omp_ssa 2015-11-09 Tom de Vries <t...@codesourcery.com> * 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

[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 <t...@codesourcery.com> * 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 <t...@codesourcery.com> * omp

[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 <t...@codesourcery.com> * omp-low.c (pass_expand_omp_ssa::e

[PATCH] Allow more pointer-plus folding

2015-10-30 Thread Tom de Vries
[ was: Re: [PATCH] Don't handle CAST_RESTRICT (PR tree-optimization/49279) ] On 29/10/15 12:38, Richard Biener wrote: On Thu, Oct 29, 2015 at 11:38 AM, Tom de Vries <tom_devr...@mentor.com> wrote: [ quote-pasted from https://gcc.gnu.org/ml/gcc-patches/2011-10/msg00464.html ] CAST_RE

[gomp4, committed] Remove shadowing declaration in oacc_entry_exit_ok_1

2015-11-03 Thread Tom de Vries
[ was: Re: [committed, gomp4, 2/3] Handle sequential code in kernels region ] On 12/10/15 19:26, Tom de Vries wrote: On 12/10/15 19:12, Tom de Vries wrote: Hi, I've committed the following patch series. 1Add get_bbs_in_oacc_kernels_region 2Handle sequential code

[gomp4, committed] Backport make_restrict_var_constraints fixes from trunk

2015-11-03 Thread Tom de Vries
Hi, I've ported two recent commits in make_restrict_var_constraints tree-ssa-structalias.c on trunk to gomp-4_0-branch. Committed as attached to gomp-4_0-branch. Thanks, - Tom Backport make_restrict_var_constraints fixes from trunk 2015-11-03 Tom de Vries <t...@codesourcery.

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

2015-11-01 Thread Tom de Vries
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 restrict in function parameter I'll repost in reply to this message. This patch adds handling of all the restrict

Re: [PATCH, 3/6] Add recursion to make_param_constraints

2015-11-01 Thread Tom de Vries
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 restrict in function parameter I'll repost in reply to this message. This no-functional-changes patch: - moves the one

Re: [PATCH, 3/6] Add recursion to make_param_constraints

2015-11-01 Thread Tom de Vries
On 27/10/15 13:56, Tom de Vries wrote: On 27/10/15 13:24, Tom de Vries wrote: Thinking it over a bit more, I realized the constraint handling started to be messy. I've reworked the patch series to simplify that first. 1Simplify constraint handling 2Rename

[gomp4, committed] Backport tree-ssa-structalias.c fixes from trunk

2015-10-30 Thread Tom de Vries
Hi, this patch backports my commits to trunk of this week in tree-ssa-structalias.c. Committed to gomp-4_0-branch. Thanks, - Tom Backport tree-ssa-structalias.c fixes from trunk 2015-10-30 Tom de Vries <t...@codesourcery.com> backport from trunk: 2015-10-30 Tom de Vri

[gomp4, committed] Backport more tree-ssa-structalias.c fixes from trunk

2015-10-31 Thread Tom de Vries
Hi, this patch backports my commits to trunk of today in tree-ssa-structalias.c. Committed to gomp-4_0-branch. Thanks, - Tom 2015-10-31 Tom de Vries <t...@codesourcery.com> backport from trunk: 2015-10-31 Tom de Vries <t...@codesourcery.com> * tree-ssa-s

[committed, trivial] Improve readability and structure of create_function_info_for

2015-10-31 Thread Tom de Vries
Hi, this patch improves readability and structure of function create_function_info_for. Bootstrapped and reg-tested on x86_64. Committed to trunk as trivial. Thanks, - Tom Improve readability and structure of create_function_info_for 2015-10-30 Tom de Vries <t...@codesourcery.

[committed, trivial] Don't expect existing varinfo for arguments in intra_create_variable_infos

2015-10-31 Thread Tom de Vries
[ was: Re: [PATCH, 1/6] Simplify constraint handling ] On 31/10/15 09:19, Tom de Vries wrote: On 30/10/15 10:33, Richard Biener wrote: Yes, but as I said we should refactor things to avoid calling > >the intra constraints generation from the IPA path. > >Ah, I see. > >

Re: [PATCH, 1/6] Simplify constraint handling

2015-10-31 Thread Tom de Vries
to apply the same to the static chain, and the varargs "rest". Ok with that change. Updated patch, bootstrapped and reg-tested on x86_64. Committed to trunk as attached. Thanks, - Tom Add initial constraints in create_function_info_for 2015-10-29 Tom de Vries <t...@codesourcery.

[committed, trivial] Use make_copy_constraint in ipa_pta_execute

2015-10-31 Thread Tom de Vries
Hi, this patch gives us shorter code in ipa_pta_execute, by using make_copy_constraint. Bootstrapped and reg-tested on x86_64. Committed to trunk as trivial. Thanks, - Tom Use make_copy_constraint in ipa_pta_execute 2015-10-30 Tom de Vries <t...@codesourcery.com> * tr

[committed] Tune pointer-plus folding

2015-10-31 Thread Tom de Vries
(where we do less folding than before). And I've changed the title of the commit since although we do allow more folding in some cases, we allow less folding in other cases. Thanks, - Tom Tune pointer-plus folding 2015-10-30 Tom de Vries <t...@codesourcery.com> * fold-const.c (fold_unary_

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

2015-11-07 Thread Tom de Vries
to zero_iter_bb in expand_omp_for_init_counts" 2015-10-08 Tom de Vries <t...@codesourcery.com> revert: 2015-10-08 Tom de Vries <t...@codesourcery.com> * omp-low.c (expand_omp_for_init_counts): Add inits for counters in zero_iter_bb. (expand_omp_for_generic): Remove TREE_NO_WARNING settti

[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 <t...@codesourcery.com> * f95-lang.c: Make formatting resemble trunk. --- gcc/fortran/f95-lang.c | 1 +

[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 <t...@codesourcery.com> Date: Fri, 6 Nov 2015 22:11:08 +0100 Subject: [PATCH 2/4] Cleanup f

[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 <t...@codesourcery.com> * tree.c (no_overflow_tree_code): Remove. * tree.h (no_overflow_tree_code): Remove. --- gcc/tree.

[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 <t...@codesource

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

2015-11-04 Thread Tom de Vries
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 <t...@codesourcery.com> * c-c++-common/goacc/kernels-loop-offload-alias-none.c: Fix foo._om

[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 <t...@codesourcery.com> * tr

[committed] Handle recursive restrict in function parameter

2015-11-04 Thread Tom de Vries
ieldoff 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 <t...@codesourcery.com> P

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] Revert

Re: [PATCH, 3/6] Add recursion to make_param_constraints

2015-11-02 Thread Tom de Vries
On 02/11/15 16:25, Richard Biener wrote: On Sun, 1 Nov 2015, 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 > > 2Hand

[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 <t...@codesourcery.com> revert: 2015-04-21 Tom de Vries <t...@codesourcery.com> * tre

[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 &l

[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 <t...@codesourcery.com> * omp-low.c (get_bbs_in_oacc_kernels_

[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 <t...@codesourcery.com> Revert: 2015-04-21 Tom de Vries <t...@codesourcery.com>

[PATCH] Fix transform_to_exit_first_loop_alt with -g

2015-11-06 Thread Tom de Vries
mp-4_0-branch: https://gcc.gnu.org/ml/gcc-patches/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 <t...@codesourcery.com> * tree-cfg.c (gimple_split_block_before_cond_jump): Split

[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" 2015-11-

[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 <t...@codesourcery.com> backport from trunk: 2015-07-12 Aldy Hernandez <al...@r

[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_ARG patch

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 <t...@codesourcery.com> * gfortran.dg/goacc/kernels-loop-nest

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

2015-11-06 Thread Tom de Vries
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 <t...@codesourcery.com> Revert: 2015-07-14

[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 <t...@codesourcery.com> Revert: 2015-07-15

[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 <t...@codesourcery.com> * builtin-attrs.def (DOT_DOT_DOT_r_r_r, DOT_DOT_DOT_DOT

[gomp4, committed] Revert "Add IFN_GOACC_DATA_END_WITH_ARG"

2015-11-06 Thread Tom de Vries
H_ARG" 2015-10-05 Tom de Vries <t...@codesourcery.com> revert: 2015-05-28 Tom de Vries <t...@codesourcery.com> PR tree-optimization/65419 * cfgexpand.c (pass_data_expand): Add PROP_gimple_lompifn to properties_required field. * gimplify.c (gimpli

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 <t...@codesourcery.com>

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

2015-11-03 Thread Tom de Vries
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 restrict in function parameter I'll repost in reply to this message. This patch

[gomp4,committed] Handle recursive restrict in function parameter

2015-11-03 Thread Tom de Vries
[ was: Re: [PATCH, 2/2] Handle recursive restrict in function parameter ] On 03/11/15 14:46, 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

[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=<none|pointer|all>. The option -foffload-alias=none instructs the compiler to assume that objects references and p

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

[gomp4, committed] Backported param parloops-schedule

2015-10-14 Thread Tom de Vries
[ was: Re: [PATCH, 3/5] Handle original loop tree in expand_omp_for_generic ] On 13/10/15 23:48, Thomas Schwinge wrote: Hi Tom! On Mon, 12 Oct 2015 18:56:29 +0200, Tom de Vries<tom_devr...@mentor.com> wrote: >Handle original loop tree in expand_omp_for_generic > >2015-09-12

[RFC] Add OPTGROUP_PAR

2015-10-19 Thread Tom de Vries
MSG_MISSED_OPTIMIZATION/MSG_NOTE messages yet. Idea of the patch OK? Any other comments? Thanks, - Tom Add OPTGROUP_PAR 2015-10-19 Tom de Vries <t...@codesourcery.com> * doc/invoke.texi (@item -fopt-info): Add @item par in group of optimizations table. * dumpfile.c (optgroup_options

<    4   5   6   7   8   9   10   11   12   13   >