Re: [PATCH GCC][3/7]Don't skip renaming PHIs in loop nest with only one inner loop

2017-10-10 Thread Bin.Cheng
On Mon, Oct 9, 2017 at 2:33 PM, Richard Biener wrote: > On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: >> Hi, >> Function rename_variables_in_bb skips renaming PHI nodes in loop nest if the >> outer loop has only one inner loop. This breaks loop nest distribution when >> inner loop has PHI nod

Re: [PATCH GCC][3/7]Don't skip renaming PHIs in loop nest with only one inner loop

2017-10-09 Thread Richard Biener
On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: > Hi, > Function rename_variables_in_bb skips renaming PHI nodes in loop nest if the > outer loop has only one inner loop. This breaks loop nest distribution when > inner loop has PHI node initialized from outer loop's variable. > Unfortunately,

[PATCH GCC][3/7]Don't skip renaming PHIs in loop nest with only one inner loop

2017-10-05 Thread Bin Cheng
Hi, Function rename_variables_in_bb skips renaming PHI nodes in loop nest if the outer loop has only one inner loop. This breaks loop nest distribution when inner loop has PHI node initialized from outer loop's variable. Unfortunately, I lost the original C code illustrating the issue. Now it is