This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH PR80153]Part2, Check base pointer directly


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]