Re: [PATCH] Avoid excessive location expansion in assign_discriminators

2018-06-20 Thread Richard Biener
On Tue, 19 Jun 2018, Cary Coutant wrote: > > On testcases like that from PR60243 CFG build is dominated by > > assign_discriminators because it expands locations again and again > > and this got more expensive over the time. > > > > Cary - can you explain the overall logic of assign_discriminators

Re: [PATCH] Avoid excessive location expansion in assign_discriminators

2018-06-19 Thread Cary Coutant
> On testcases like that from PR60243 CFG build is dominated by > assign_discriminators because it expands locations again and again > and this got more expensive over the time. > > Cary - can you explain the overall logic of assign_discriminators, > specifically why if the last stmt of a block has