Re: Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-08 Thread Jeff Law
On 8/7/19 12:16 PM, Richard Sandiford wrote: > The main IRA routine includes the code: > > /* Don't move insns if live range shrinkage or register > pressure-sensitive scheduling were done because it will not > improve allocation but likely worsen insn scheduling. */ > if (optimize

Re: Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-07 Thread Segher Boessenkool
On Wed, Aug 07, 2019 at 05:26:45PM -0500, Segher Boessenkool wrote: > On Wed, Aug 07, 2019 at 11:21:48PM +0100, Richard Sandiford wrote: > > Segher Boessenkool writes: > > > On Wed, Aug 07, 2019 at 07:16:03PM +0100, Richard Sandiford wrote: > > >> The main IRA routine includes the code: > > >> >

Re: Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-07 Thread Segher Boessenkool
On Wed, Aug 07, 2019 at 11:21:48PM +0100, Richard Sandiford wrote: > Segher Boessenkool writes: > > On Wed, Aug 07, 2019 at 07:16:03PM +0100, Richard Sandiford wrote: > >> The main IRA routine includes the code: > >> > >> /* Don't move insns if live range shrinkage or register > >> pressur

Re: Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-07 Thread Richard Sandiford
Segher Boessenkool writes: > Hi Richard, > > On Wed, Aug 07, 2019 at 07:16:03PM +0100, Richard Sandiford wrote: >> The main IRA routine includes the code: >> >> /* Don't move insns if live range shrinkage or register >> pressure-sensitive scheduling were done because it will not >> im

Re: Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-07 Thread Segher Boessenkool
Hi Richard, On Wed, Aug 07, 2019 at 07:16:03PM +0100, Richard Sandiford wrote: > The main IRA routine includes the code: > > /* Don't move insns if live range shrinkage or register > pressure-sensitive scheduling were done because it will not > improve allocation but likely worsen ins

Run the combine part of combine_and_move_insns even if -fsched-pressure

2019-08-07 Thread Richard Sandiford
The main IRA routine includes the code: /* Don't move insns if live range shrinkage or register pressure-sensitive scheduling were done because it will not improve allocation but likely worsen insn scheduling. */ if (optimize && !flag_live_range_shrinkage && !(flag_sched