Re: Disable some patterns for fold-left reductions (PR 83965)

2018-01-23 Thread Richard Biener
On Mon, Jan 22, 2018 at 6:53 PM, Richard Sandiford wrote: > In this PR we recognised a PLUS_EXPR as a fold-left reduction, > then applied pattern matching to convert it to a WIDEN_SUM_EXPR. > We need to keep the original code in this case since we implement > the

Disable some patterns for fold-left reductions (PR 83965)

2018-01-22 Thread Richard Sandiford
In this PR we recognised a PLUS_EXPR as a fold-left reduction, then applied pattern matching to convert it to a WIDEN_SUM_EXPR. We need to keep the original code in this case since we implement the reduction using scalar rather than vector operations. Tested on aarch64-linux-gnu, x86_64-linux-gnu