Re: [PATCH] Disable postreload GCSE on large code

2019-09-05 Thread Richard Biener
On Thu, 5 Sep 2019, Dimitar Dimitrov wrote: > On вторник, 3 септември 2019 г. 14:54:19 EEST Richard Biener wrote: > > 2019-09-02 Richard Biener > > > > PR rtl-optimization/36262 > > * postreload-gcse.c: Include intl.h and gcse.h. > > (insert_expr_in_table): Insert at

Re: [PATCH] Disable postreload GCSE on large code

2019-09-04 Thread Dimitar Dimitrov
On вторник, 3 септември 2019 г. 14:54:19 EEST Richard Biener wrote: > 2019-09-02 Richard Biener > > PR rtl-optimization/36262 > * postreload-gcse.c: Include intl.h and gcse.h. > (insert_expr_in_table): Insert at the head of cur_expr->avail_occr > to avoid linear

Re: [PATCH] Disable postreload GCSE on large code

2019-09-03 Thread Richard Sandiford
Richard Biener writes: > On Mon, 2 Sep 2019, Richard Sandiford wrote: > >> Richard Biener writes: >> > This disables postreload GCSE the same way we disable GCSE/cprop. >> > On the PR36262 testcase this removes >> > >> > load CSE after reload : 129.00 ( 72%) 0.08 ( 5%) 130.50 (

Re: [PATCH] Disable postreload GCSE on large code

2019-09-03 Thread Richard Biener
On Mon, 2 Sep 2019, Richard Sandiford wrote: > Richard Biener writes: > > This disables postreload GCSE the same way we disable GCSE/cprop. > > On the PR36262 testcase this removes > > > > load CSE after reload : 129.00 ( 72%) 0.08 ( 5%) 130.50 ( > > 72%) 6 kB ( 0%) > >

Re: [PATCH] Disable postreload GCSE on large code

2019-09-02 Thread Richard Sandiford
Richard Biener writes: > This disables postreload GCSE the same way we disable GCSE/cprop. > On the PR36262 testcase this removes > > load CSE after reload : 129.00 ( 72%) 0.08 ( 5%) 130.50 ( > 72%) 6 kB ( 0%) > > With a smaller testcase both PRE and postreload GCSE still

[PATCH] Disable postreload GCSE on large code

2019-09-02 Thread Richard Biener
This disables postreload GCSE the same way we disable GCSE/cprop. On the PR36262 testcase this removes load CSE after reload : 129.00 ( 72%) 0.08 ( 5%) 130.50 ( 72%) 6 kB ( 0%) With a smaller testcase both PRE and postreload GCSE still run and GCSE shows itself roughly