On Mon, Apr 10, 2017 at 4:35 PM, Bin Cheng <bin.ch...@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.ch...@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.