On Wed, Jul 20, 2016 at 6:40 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > This patch cleans up function number_of_iterations_lt_to_ne mainly by > removing computation of may_be_zero. The computation is unnecessary and > may_be_zero in this case must be true. Specifically, DELTA is integer > constant and iv0.base < iv1.base bounds to be true because the false case is > handled in function number_of_iterations_cond before. This patch also > refines comment a little. > > Bootstrap and test on x86_64, is it OK?
Ok. Richard. > Thanks, > bin > > 2016-07-19 Bin Cheng <bin.ch...@arm.com> > > * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Clean up > by removing computation of may_be_zero.