Re: [PATCH GCC8][21/33]Support compare iv_use which both sides of comparison are IVs

2017-04-26 Thread Richard Biener
On Tue, Apr 18, 2017 at 12:49 PM, Bin Cheng wrote: > Hi, > This patch supports compare iv_use for comparison whose both sides are IVs. > With this patch, optimal code is generated for PR53090. > Is it OK? Ok. Richard. > Thanks, > bin > 2017-04-11 Bin Cheng > > PR tree-optimization/53

[PATCH GCC8][21/33]Support compare iv_use which both sides of comparison are IVs

2017-04-18 Thread Bin Cheng
Hi, This patch supports compare iv_use for comparison whose both sides are IVs. With this patch, optimal code is generated for PR53090. Is it OK? Thanks, bin 2017-04-11  Bin Cheng      PR tree-optimization/53090     * tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New enum value