This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH GCC8][04/33]Single interface finding invariant variables
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Mon, 24 Apr 2017 12:27:13 +0200
- Subject: Re: [PATCH GCC8][04/33]Single interface finding invariant variables
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB21764FC48DB8579A9B643214E7190@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On Tue, Apr 18, 2017 at 12:39 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> This patch refactors interface finding invariant variables. Now customers
> only need to call find_inv_vars, rather than set global variable fd_ivopts_data
> then call walk_tree.
> Is it OK?
Ok.
RIchard.
> Thanks,
> bin
>
> 2017-04-11 Bin Cheng <bin.cheng@arm.com>
>
> * tree-ssa-loop-ivopts.c (struct walk_tree_data): New.
> (find_inv_vars_cb): New.
> (find_depends): Renamed to ...
> (find_inv_vars): ... this.
> (add_candidate_1, force_var_cost): Call find_inv_vars.
> (split_address_cost, determine_group_iv_cost_cond): Ditto.