On Tue, Apr 18, 2017 at 12:46 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > For compare type iv_use, we want to relate it with all candidates in order > to achieve smaller candidate set. Generally this doesn't hurt compilation > time because compare iv_use is already related with most candidates and > the number of compare iv_uses is also small. > Is it OK?
Ok. Richard. > Thanks, > bin > 2017-04-11 Bin Cheng <bin.ch...@arm.com> > > * tree-ssa-loop-ivopts.c (relate_compare_use_with_all_cands): New. > (find_iv_candidates): Call relate_compare_use_with_all_cands.