Re: Make fix for PR 83965 handle SLP reduction chains

2018-02-26 Thread Richard Biener
On Mon, Feb 26, 2018 at 3:37 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Tue, Feb 20, 2018 at 5:53 PM, Richard Sandiford >> wrote: >>> This patch prevents pattern-matching of fold-left SLP reduction chains, >>> which the previous patch for 83965 didn't handle properly. It only >

Re: Make fix for PR 83965 handle SLP reduction chains

2018-02-26 Thread Richard Sandiford
Richard Biener writes: > On Tue, Feb 20, 2018 at 5:53 PM, Richard Sandiford > wrote: >> This patch prevents pattern-matching of fold-left SLP reduction chains, >> which the previous patch for 83965 didn't handle properly. It only >> stops the last statement in the group from being matched, but t

Re: Make fix for PR 83965 handle SLP reduction chains

2018-02-26 Thread Richard Biener
On Tue, Feb 20, 2018 at 5:53 PM, Richard Sandiford wrote: > This patch prevents pattern-matching of fold-left SLP reduction chains, > which the previous patch for 83965 didn't handle properly. It only > stops the last statement in the group from being matched, but that's > enough to cause the gro

Make fix for PR 83965 handle SLP reduction chains

2018-02-20 Thread Richard Sandiford
This patch prevents pattern-matching of fold-left SLP reduction chains, which the previous patch for 83965 didn't handle properly. It only stops the last statement in the group from being matched, but that's enough to cause the group to be dissolved later. A better fix would be to put all the inf