Re: [PATCH GCC][5/7]Extend loop distribution for two-level innermost loop nest

2017-10-11 Thread Richard Biener
On Wed, Oct 11, 2017 at 2:05 PM, Bin.Cheng wrote: > On Mon, Oct 9, 2017 at 2:48 PM, Richard Biener > wrote: >> On Thu, Oct 5, 2017 at 3:17 PM, Bin Cheng wrote: >>> Hi, >>> For now distribution pass only handles the innermost loop. This patch >>> extends the pass >>> to cover two-level innermos

Re: [PATCH GCC][5/7]Extend loop distribution for two-level innermost loop nest

2017-10-11 Thread Bin.Cheng
On Mon, Oct 9, 2017 at 2:48 PM, Richard Biener wrote: > On Thu, Oct 5, 2017 at 3:17 PM, Bin Cheng wrote: >> Hi, >> For now distribution pass only handles the innermost loop. This patch >> extends the pass >> to cover two-level innermost loop nest. It also refactors code in >> pass_loop_distri

Re: [PATCH GCC][5/7]Extend loop distribution for two-level innermost loop nest

2017-10-09 Thread Richard Biener
On Thu, Oct 5, 2017 at 3:17 PM, Bin Cheng wrote: > Hi, > For now distribution pass only handles the innermost loop. This patch > extends the pass > to cover two-level innermost loop nest. It also refactors code in > pass_loop_distribution::execute > for better reading. Note I restrict it to 2

[PATCH GCC][5/7]Extend loop distribution for two-level innermost loop nest

2017-10-05 Thread Bin Cheng
Hi, For now distribution pass only handles the innermost loop. This patch extends the pass to cover two-level innermost loop nest. It also refactors code in pass_loop_distribution::execute for better reading. Note I restrict it to 2-level loop nest on purpose because of high cost in data depe