Re: [PATCH GCC8][05/33]Count invariant and candidate separately

2017-04-24 Thread Richard Biener
On Tue, Apr 18, 2017 at 12:40 PM, Bin Cheng wrote: > Hi, > Simple refactor counting invariant (both variables and expressions) and > induction variables separately. > Is it OK? Ok. Richard. > Thanks, > bin > 2017-04-11 Bin Cheng > > * tree-ssa-loop-ivopts.c (struct iv_ca): Rename n_

[PATCH GCC8][05/33]Count invariant and candidate separately

2017-04-18 Thread Bin Cheng
Hi, Simple refactor counting invariant (both variables and expressions) and induction variables separately. Is it OK? Thanks, bin 2017-04-11 Bin Cheng * tree-ssa-loop-ivopts.c (struct iv_ca): Rename n_regs to n_invs. (ivopts_global_cost_for_size): Rename parameter and update u