This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Offloading Support in libgomp
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Michael V. Zolotukhin" <michael dot v dot zolotukhin at gmail dot com>
- Cc: Kirill Yukhin <kirill dot yukhin at gmail dot com>, Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, triegel at redhat dot com
- Date: Fri, 13 Sep 2013 17:35:27 +0200
- Subject: Re: [RFC] Offloading Support in libgomp
- Authentication-results: sourceware.org; auth=none
- References: <20130828093428 dot GO21876 at tucnak dot zalov dot cz> <20130910150126 dot GA2059 at msticlxl57 dot ims dot intel dot com> <20130910151453 dot GB1817 at tucnak dot redhat dot com> <20130910153053 dot GB2059 at msticlxl57 dot ims dot intel dot com> <20130910153624 dot GD1817 at tucnak dot redhat dot com> <20130910153810 dot GC2059 at msticlxl57 dot ims dot intel dot com> <20130913112930 dot GC30181 at msticlxl57 dot ims dot intel dot com> <20130913123614 dot GB1817 at tucnak dot redhat dot com> <20130913131109 dot GD30181 at msticlxl57 dot ims dot intel dot com> <20130913131556 dot GD1817 at tucnak dot redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 13, 2013 at 03:15:56PM +0200, Jakub Jelinek wrote:
> On Fri, Sep 13, 2013 at 05:11:09PM +0400, Michael V. Zolotukhin wrote:
> > > FYI, I'm attaching a WIP patch with the splay tree stuff.
> > Thanks, I'll take a look. By the way, isn't it better to move splay-tree
> > implementation to a separate file?
>
> As it is just a few routines, heavily modified from include/splay-tree.h
> (e.g. the data structures contain all the target.c specific stuff), and will be
> used just in target.c, I think it is fine to keep it in target.c.
Anyway, here is an updated patch that moves the splay stuff into
splay-tree.h and cleans up a bunch of other things.
Will commit once the http://gcc.gnu.org/ml/gcc-patches/2013-09/msg01044.html
issue is resolved.
2013-09-13 Jakub Jelinek <jakub@redhat.com>
* ipa-prop.c (ipa_compute_jump_functions_for_edge): Return early
for internal calls.
--- gcc/ipa-prop.c.jj 2013-09-13 16:48:54.000000000 +0200
+++ gcc/ipa-prop.c 2013-09-13 17:28:28.086058903 +0200
@@ -1551,6 +1551,8 @@ ipa_compute_jump_functions_for_edge (str
return;
vec_safe_grow_cleared (args->jump_functions, arg_num);
+ if (gimple_call_internal_p (call))
+ return;
if (ipa_func_spec_opts_forbid_analysis_p (cs->caller))
return;
Jakub