Re: [PATCH PR77503]Record reduction code for CONST_COND_REDUCTION at analysis stage and use it at transform

2016-09-15 Thread Richard Biener
On Thu, Sep 15, 2016 at 12:07 PM, Bin Cheng wrote: > Hi, > This patch fixes PR77503. Root cause is loop peeling changes the initial > value for reduction PHI node, resulting in different statement for > vect_transform_stmt to vect_analyze_stmt. Similar issue stands for loop

[PATCH PR77503]Record reduction code for CONST_COND_REDUCTION at analysis stage and use it at transform

2016-09-15 Thread Bin Cheng
Hi, This patch fixes PR77503. Root cause is loop peeling changes the initial value for reduction PHI node, resulting in different statement for vect_transform_stmt to vect_analyze_stmt. Similar issue stands for loop control IV, we record the original information in