Re: Fix PR83323 (crafty miscompile by unroll-and-jam)

2017-12-08 Thread Michael Matz
Hi, On Fri, 8 Dec 2017, Richard Biener wrote: > OK. > Don't you need to adjust existing unroll and jam testcases? Ahem... that's at least what the regression testing told me as well :) Fixed in what I checked in (the only testcase we had was the one I added yesterday) Ciao, Michael.

Re: Fix PR83323 (crafty miscompile by unroll-and-jam)

2017-12-08 Thread Richard Biener
On December 8, 2017 5:44:31 PM GMT+01:00, Michael Matz wrote: >Hi, > >the predicate for feasiblity of unroll-and-jam was a bit nonsensical. >Properly check for non-head-controlled loops, and also check all BBs of > >the outer loop for any instructions that would inhibit fusion

Fix PR83323 (crafty miscompile by unroll-and-jam)

2017-12-08 Thread Michael Matz
Hi, the predicate for feasiblity of unroll-and-jam was a bit nonsensical. Properly check for non-head-controlled loops, and also check all BBs of the outer loop for any instructions that would inhibit fusion (before we never checked header or latch). Richi also asked me to reuse the