Re: [PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-18 Thread Richard Biener
On Thu, May 17, 2018 at 5:49 PM Bin.Cheng wrote: > On Thu, May 17, 2018 at 3:04 PM, Richard Biener > wrote: > > On Tue, May 15, 2018 at 5:44 PM Bin.Cheng wrote: > > > >> On Fri, May 11, 2018 at 1:53 PM, Richard Biener >

Re: [PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-17 Thread Bin.Cheng
On Thu, May 17, 2018 at 3:04 PM, Richard Biener wrote: > On Tue, May 15, 2018 at 5:44 PM Bin.Cheng wrote: > >> On Fri, May 11, 2018 at 1:53 PM, Richard Biener >> wrote: >> > On Fri, May 4, 2018 at 6:23 PM, Bin Cheng

Re: [PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-17 Thread Richard Biener
On Tue, May 15, 2018 at 5:44 PM Bin.Cheng wrote: > On Fri, May 11, 2018 at 1:53 PM, Richard Biener > wrote: > > On Fri, May 4, 2018 at 6:23 PM, Bin Cheng wrote: > >> Hi, > >> Following Jeff's suggestion, I am now using

Re: [PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-15 Thread Bin.Cheng
On Fri, May 11, 2018 at 1:53 PM, Richard Biener wrote: > On Fri, May 4, 2018 at 6:23 PM, Bin Cheng wrote: >> Hi, >> Following Jeff's suggestion, I am now using existing tree-ssa-live.c and >> tree-ssa-coalesce.c to compute register pressure, rather

Re: [PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-11 Thread Richard Biener
On Fri, May 4, 2018 at 6:23 PM, Bin Cheng wrote: > Hi, > Following Jeff's suggestion, I am now using existing tree-ssa-live.c and > tree-ssa-coalesce.c to compute register pressure, rather than inventing > another live range solver. > > The major change is to record region's

[PATCH GCC][4/6]Support regional coalesce and live range computation

2018-05-04 Thread Bin Cheng
Hi, Following Jeff's suggestion, I am now using existing tree-ssa-live.c and tree-ssa-coalesce.c to compute register pressure, rather than inventing another live range solver. The major change is to record region's basic blocks in var_map and use that information in computation, rather than