Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-18 Thread Richard Biener
On December 18, 2017 5:06:25 PM GMT+01:00, Jeff Law wrote: >On 12/18/2017 03:15 AM, Richard Biener wrote: >> On Fri, Dec 15, 2017 at 6:00 PM, Richard Biener >> wrote: >>> On December 15, 2017 5:19:14 PM GMT+01:00, Jeff Law >wrote:

Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-18 Thread Jeff Law
On 12/18/2017 03:15 AM, Richard Biener wrote: > On Fri, Dec 15, 2017 at 6:00 PM, Richard Biener > wrote: >> On December 15, 2017 5:19:14 PM GMT+01:00, Jeff Law wrote: >>> I hate this patch. >>> >>> The fundamental problem we have is that there are

Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-18 Thread Richard Biener
On Fri, Dec 15, 2017 at 6:00 PM, Richard Biener wrote: > On December 15, 2017 5:19:14 PM GMT+01:00, Jeff Law wrote: >>I hate this patch. >> >>The fundamental problem we have is that there are times when we very >>much want to thread jumps and yet

Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-15 Thread Jeff Law
On 12/15/2017 09:45 AM, Jakub Jelinek wrote: > On Fri, Dec 15, 2017 at 09:19:14AM -0700, Jeff Law wrote: >> + /* Loop parallelization can be confused by the result of >> + threading through the loop exit test back into the loop. >> + However, theading those jumps seems to help

Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-15 Thread Richard Biener
On December 15, 2017 5:19:14 PM GMT+01:00, Jeff Law wrote: >I hate this patch. > >The fundamental problem we have is that there are times when we very >much want to thread jumps and yet there are other times when we do not. > >To date we have been able to largely select between

Re: [committed][PR tree-optimization/83410] Avoid some jump threads when parallelizing loops

2017-12-15 Thread Jakub Jelinek
On Fri, Dec 15, 2017 at 09:19:14AM -0700, Jeff Law wrote: > + /* Loop parallelization can be confused by the result of > + threading through the loop exit test back into the loop. > + However, theading those jumps seems to help other codes. > + > + I have been