Re: [PATCH] Further cleanup loop-distribution

2014-07-30 Thread Mike Stump
On Jul 30, 2014, at 12:59 AM, Richard Biener wrote: >> So I do compiler testing on my toaster oven by doing native builds of gcc >> running on a binutils simulator and it doesn’t have a working popen (it’s in >> my newlib, but it wants vfork, which I don’t have). I do have fork and >> system h

Re: [PATCH] Further cleanup loop-distribution

2014-07-30 Thread Richard Biener
On Tue, Jul 29, 2014 at 9:46 PM, Mike Stump wrote: > On Sep 12, 2013, at 1:47 AM, Richard Biener wrote: >> ! #if 0 >> ! FILE *file = fopen ("/tmp/rdg.dot", "w"); >> ! gcc_assert (file != NULL); >> ! >>dot_rdg_1 (file, rdg); >> ! fclose (file); >> ! >> ! system ("dotty /tmp/rdg.dot &")

Re: [PATCH] Further cleanup loop-distribution

2014-07-29 Thread Mike Stump
On Sep 12, 2013, at 1:47 AM, Richard Biener wrote: > ! #if 0 > ! FILE *file = fopen ("/tmp/rdg.dot", "w"); > ! gcc_assert (file != NULL); > ! >dot_rdg_1 (file, rdg); > ! fclose (file); > ! > ! system ("dotty /tmp/rdg.dot &"); > #else >dot_rdg_1 (stderr, rdg); > #endif > --- 276

[PATCH] Further cleanup loop-distribution

2013-09-12 Thread Richard Biener
The following patch makes us rely on a correct RDG for the partition creation, removing all code that adds further dependencies. Most of it was necessary because we threw in a cost model via 'remaining_stmts' early, limiting the DFS walks on the RDG that look up dependencies. The patch also beef