Re: [PATCH] loop distribution bug fix

2016-11-14 Thread Richard Biener
On Fri, Nov 11, 2016 at 7:55 PM, Jim Wilson wrote: > On Thu, Nov 10, 2016 at 2:53 AM, Richard Biener > wrote: >> The biggest "lack" of loop distribution is the ability to undo CSE so for > > I hadn't noticed this problem yet. I will have to take a look. > >> Then of course the cost model is pure

Re: [PATCH] loop distribution bug fix

2016-11-11 Thread Jim Wilson
On Thu, Nov 10, 2016 at 2:53 AM, Richard Biener wrote: > The biggest "lack" of loop distribution is the ability to undo CSE so for I hadn't noticed this problem yet. I will have to take a look. > Then of course the cost model is purely modeled for STREAM (reduce the number > of memory streams).

Re: [PATCH] loop distribution bug fix

2016-11-10 Thread Richard Biener
On Thu, Nov 10, 2016 at 6:25 AM, Jim Wilson wrote: > This fixes a bug in code adding edges to the dependence graph. Values > for this_dir can be -1 (backward edge), 0 (no edge), 1 (forward edge), > and 2 (both backward and forward edges). There can be multiple > dependencies checked, creating mult

[PATCH] loop distribution bug fix

2016-11-09 Thread Jim Wilson
This fixes a bug in code adding edges to the dependence graph. Values for this_dir can be -1 (backward edge), 0 (no edge), 1 (forward edge), and 2 (both backward and forward edges). There can be multiple dependencies checked, creating multiple edges that have to be merged together. this_dir contain