This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH GCC8][18/33]Relate compare iv_use with all candidates
- 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: Wed, 26 Apr 2017 15:12:32 +0200
- Subject: Re: [PATCH GCC8][18/33]Relate compare iv_use with all candidates
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB2176E02EDB145AB677A0A7F3E7190@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On Tue, Apr 18, 2017 at 12:46 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> For compare type iv_use, we want to relate it with all candidates in order
> to achieve smaller candidate set. Generally this doesn't hurt compilation
> time because compare iv_use is already related with most candidates and
> the number of compare iv_uses is also small.
> Is it OK?
Ok.
Richard.
> Thanks,
> bin
> 2017-04-11 Bin Cheng <bin.cheng@arm.com>
>
> * tree-ssa-loop-ivopts.c (relate_compare_use_with_all_cands): New.
> (find_iv_candidates): Call relate_compare_use_with_all_cands.