Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-22 Thread Tom de Vries
On 19-02-15 13:41, Richard Biener wrote: On Thu, 19 Feb 2015, Tom de Vries wrote: On 19-02-15 11:29, Tom de Vries wrote: Hi, I'm posting this patch series for stage1: - 0001-Disable-lang_hooks.gimplify_expr-in-free_lang_data.patch - 0002-Add-gimple_find_sub_bbs.patch - 0003-Factor-optimize_va

Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-19 Thread Richard Biener
On Thu, 19 Feb 2015, Marek Polacek wrote: > On Thu, Feb 19, 2015 at 01:48:58PM +0100, Jakub Jelinek wrote: > > On Thu, Feb 19, 2015 at 01:41:05PM +0100, Richard Biener wrote: > > > I hope we can get rid of this again (which needs re-writing of all > > > targets va-arg gimplification hooks... - we

Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-19 Thread Richard Biener
On Thu, 19 Feb 2015, Jakub Jelinek wrote: > On Thu, Feb 19, 2015 at 01:41:05PM +0100, Richard Biener wrote: > > I hope we can get rid of this again (which needs re-writing of all > > targets va-arg gimplification hooks... - we are in need of some > > generic diamond/triangle CFG pattern builders a

Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-19 Thread Marek Polacek
On Thu, Feb 19, 2015 at 01:48:58PM +0100, Jakub Jelinek wrote: > On Thu, Feb 19, 2015 at 01:41:05PM +0100, Richard Biener wrote: > > I hope we can get rid of this again (which needs re-writing of all > > targets va-arg gimplification hooks... - we are in need of some > > generic diamond/triangle CF

Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-19 Thread Jakub Jelinek
On Thu, Feb 19, 2015 at 01:41:05PM +0100, Richard Biener wrote: > I hope we can get rid of this again (which needs re-writing of all > targets va-arg gimplification hooks... - we are in need of some > generic diamond/triangle CFG pattern builders anyway). We already have some in asan.c - create_co

Re: [PATCH][2/5] Add gimple_find_sub_bbs

2015-02-19 Thread Richard Biener
On Thu, 19 Feb 2015, Tom de Vries wrote: > On 19-02-15 11:29, Tom de Vries wrote: > > Hi, > > > > I'm posting this patch series for stage1: > > - 0001-Disable-lang_hooks.gimplify_expr-in-free_lang_data.patch > > - 0002-Add-gimple_find_sub_bbs.patch > > - 0003-Factor-optimize_va_list_gpr_fpr_size-