Re: [PATCH PING]Improve induction variable elimination

2014-10-15 Thread Richard Biener
On Wed, Oct 8, 2014 at 5:35 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, This patch is posted long before in a series of patches at https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01392.html . Since the preceding patch is changed according to review comments, also because it's long time not

Re: [PATCH PING]Improve induction variable elimination

2014-10-15 Thread Mike Stump
On Oct 15, 2014, at 6:36 AM, Richard Biener richard.guent...@gmail.com wrote: + wide_int max_wi = wi::max_value (TYPE_PRECISION (type), UNSIGNED); + max_val = wi::to_widest (wide_int_to_tree (type, max_wi)); ick - there must be a better way to extend max_wi to infinite precision.

[PATCH PING]Improve induction variable elimination

2014-10-07 Thread Bin Cheng
Hi, This patch is posted long before in a series of patches at https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01392.html . Since the preceding patch is changed according to review comments, also because it's long time not reviewed, I rebased and updated this patch as attached. With this patch,