Re: [PATCH PR66388]Compute use with cand of smaller precision by further exercising scev overflow info.

2015-07-24 Thread Richard Biener
On Fri, Jul 24, 2015 at 1:09 PM, Bin.Cheng amker.ch...@gmail.com wrote: On Thu, Jul 23, 2015 at 10:06 PM, Richard Biener richard.guent...@gmail.com wrote: On Fri, Jul 17, 2015 at 8:27 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, This patch is to fix PR66388. It's an old issue but recently

Re: [PATCH PR66388]Compute use with cand of smaller precision by further exercising scev overflow info.

2015-07-24 Thread Bin.Cheng
On Thu, Jul 23, 2015 at 10:06 PM, Richard Biener richard.guent...@gmail.com wrote: On Fri, Jul 17, 2015 at 8:27 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, This patch is to fix PR66388. It's an old issue but recently became worse after my scev overflow change. IVOPT now can only compute iv

Re: [PATCH PR66388]Compute use with cand of smaller precision by further exercising scev overflow info.

2015-07-24 Thread Bin.Cheng
On Fri, Jul 24, 2015 at 7:23 PM, Richard Biener richard.guent...@gmail.com wrote: On Fri, Jul 24, 2015 at 1:09 PM, Bin.Cheng amker.ch...@gmail.com wrote: On Thu, Jul 23, 2015 at 10:06 PM, Richard Biener richard.guent...@gmail.com wrote: On Fri, Jul 17, 2015 at 8:27 AM, Bin Cheng

Re: [PATCH PR66388]Compute use with cand of smaller precision by further exercising scev overflow info.

2015-07-23 Thread Richard Biener
On Fri, Jul 17, 2015 at 8:27 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, This patch is to fix PR66388. It's an old issue but recently became worse after my scev overflow change. IVOPT now can only compute iv use with candidate which has at least same type precision. See below code: if

[PATCH PR66388]Compute use with cand of smaller precision by further exercising scev overflow info.

2015-07-17 Thread Bin Cheng
Hi, This patch is to fix PR66388. It's an old issue but recently became worse after my scev overflow change. IVOPT now can only compute iv use with candidate which has at least same type precision. See below code: if (TYPE_PRECISION (utype) TYPE_PRECISION (ctype)) { /* We do not