Re: [PATCH PR68021]Don't add biv candidate if it's not incremented by a single stmt

2016-02-08 Thread Richard Biener
On Fri, Feb 5, 2016 at 8:20 PM, Bin Cheng wrote: > Hi, > As reported by PR68021, there is an ivopt bug all the time. As designed, > ivopt tries to identify and reuse induction variables in the original input. > Apparently we don't need to compute such original biv because the computation > is

[PATCH PR68021]Don't add biv candidate if it's not incremented by a single stmt

2016-02-05 Thread Bin Cheng
Hi, As reported by PR68021, there is an ivopt bug all the time. As designed, ivopt tries to identify and reuse induction variables in the original input. Apparently we don't need to compute such original biv because the computation is already there. Every time an iv use is rewritten, ivopt ch