Re: [PATCH GCC][4/7]Choose exit edge/path when removing inner loop's exit statement

2017-10-20 Thread Tom de Vries
On 10/19/2017 10:49 AM, Bin.Cheng wrote: On Thu, Oct 19, 2017 at 9:31 AM, Tom de Vries wrote: On 10/09/2017 03:34 PM, Richard Biener wrote: On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: Hi, Function generate_loops_for_partition chooses

Re: [PATCH GCC][4/7]Choose exit edge/path when removing inner loop's exit statement

2017-10-19 Thread Bin.Cheng
On Thu, Oct 19, 2017 at 9:31 AM, Tom de Vries wrote: > On 10/09/2017 03:34 PM, Richard Biener wrote: >> >> On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: >>> >>> Hi, >>> Function generate_loops_for_partition chooses arbitrary path when >>> removing

Re: [PATCH GCC][4/7]Choose exit edge/path when removing inner loop's exit statement

2017-10-19 Thread Tom de Vries
On 10/09/2017 03:34 PM, Richard Biener wrote: On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: Hi, Function generate_loops_for_partition chooses arbitrary path when removing exit condition not in partition. This is fine for now because it's impossible to have loop exit

Re: [PATCH GCC][4/7]Choose exit edge/path when removing inner loop's exit statement

2017-10-09 Thread Richard Biener
On Thu, Oct 5, 2017 at 3:16 PM, Bin Cheng wrote: > Hi, > Function generate_loops_for_partition chooses arbitrary path when removing > exit > condition not in partition. This is fine for now because it's impossible to > have > loop exit condition in case of innermost

[PATCH GCC][4/7]Choose exit edge/path when removing inner loop's exit statement

2017-10-05 Thread Bin Cheng
Hi, Function generate_loops_for_partition chooses arbitrary path when removing exit condition not in partition. This is fine for now because it's impossible to have loop exit condition in case of innermost distribution. After extending to loop nest distribution, we must choose exit edge/path