Re: [PATCH] Add helper to sort sibling loops, do so in GRAPHITE

2017-09-26 Thread Sebastian Pop
On Mon, Sep 25, 2017 at 8:18 AM, Richard Biener wrote: > > The following adds a helper to sort the sibling loop list in RPO order > as it can get messed up (we only ever add loops at the start of the list). > GRAPHITE SCOP detection assumes this list is sorted naturally in RPO > order (as a flow_

[PATCH] Add helper to sort sibling loops, do so in GRAPHITE

2017-09-25 Thread Richard Biener
The following adds a helper to sort the sibling loop list in RPO order as it can get messed up (we only ever add loops at the start of the list). GRAPHITE SCOP detection assumes this list is sorted naturally in RPO order (as a flow_loops_find would generate). Turns out it helps a few more loops i