Re: [PATCH 1/3]Improve induction variable elimination

2014-07-25 Thread Bin.Cheng
On Fri, Jul 25, 2014 at 1:27 PM, Richard Biener wrote: > On Thu, Jul 17, 2014 at 11:07 AM, Bin Cheng wrote: >> Hi, >> This is a series of three patches improving induction variable elimination. >> Currently GCC only eliminates iv for very specific case when the loop's >> latch could run zero time

Re: [PATCH 1/3]Improve induction variable elimination

2014-07-25 Thread Richard Biener
On Thu, Jul 17, 2014 at 11:07 AM, Bin Cheng wrote: > Hi, > This is a series of three patches improving induction variable elimination. > Currently GCC only eliminates iv for very specific case when the loop’s > latch could run zero times, i.e., when may_be_zero field of loop niter > information ev

Fwd: [PATCH 1/3]Improve induction variable elimination

2014-07-21 Thread Bin.Cheng
Hi, forward to Zdenek for the review. Thanks, bin -- Forwarded message -- From: Bin Cheng Date: Thu, Jul 17, 2014 at 10:07 AM Subject: [PATCH 1/3]Improve induction variable elimination To: gcc-patches@gcc.gnu.org Hi, This is a series of three patches improving induction

[PATCH 1/3]Improve induction variable elimination

2014-07-17 Thread Bin Cheng
Hi, This is a series of three patches improving induction variable elimination. Currently GCC only eliminates iv for very specific case when the loop’s latch could run zero times, i.e., when may_be_zero field of loop niter information evaluates to true. In fact, it’s so specific that iv_eliminatio