On Fri, Feb 13, 2015 at 10:43 AM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > When dealing with PR62173, we found places in which overflow check on SCEVs > can be improved by range information. This patch addresses one of them. > Richard once suggested that we should trace range info all the way through > SCEV thus have it on CHREC structure. But as far as IVOPTs is concerned, > there is already the information because for each IV, we have the > corresponding ssa name field. The only problem is GCC now releases this > field to make iv dump routines easier. This is a trivial patch fixing this. > > > Bootstrap and test along with the other one. Is it OK?
Ok. Thanks, Richard. > Thanks, > bin > > 2015-02-13 Bin Cheng <bin.ch...@arm.com> > > PR tree-optimization/62173 > * tree-ssa-loop-ivopts.c (dump_iv): New parameter. > (dump_use, dump_cand, find_induction_variables): Pass new argument > to dump_iv. > (record_use): Preserve the ssa name information in IV.