This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH PR80153]Part2, Check base pointer directly
- 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, 10 Apr 2017 17:38:18 +0200
- Subject: Re: [PATCH PR80153]Part2, Check base pointer directly
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB21763067A799362C9E186994E7010@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On Mon, Apr 10, 2017 at 4:35 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> This is part 2 patch fixing PR80153, because we now explicitly rely on behavior that the first element being base pointer of pointer type aff_tree. The original code removes base pointer from aff_tree without updating aff_tree's type. Actually, we don't need to use tree-affine at all, we can directly look into pointer_plus_expr.
>
> Bootstrap and test on x86_64 and AArch64 ongoing. Is it OK if no failures?
Ok.
Thanks,
Richard.
> Thanks,
> bin
>
> 2017-04-07 Bin Cheng <bin.cheng@arm.com>
>
> PR tree-optimization/80153
> * tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Check and
> remove POINTER_PLUS_EXPR's base part directly, rather than through
> aff_tree.