Re: [PATCH] slp: reject non-multiple of 2 laned SLP trees (PR99825)

2021-03-30 Thread Richard Biener
On Tue, 30 Mar 2021, Tamar Christina wrote: > Hi Richi, > > TWO_OPERANDS allows any order or number of combinations of + and - operations > but the pattern matcher only supports pairs of operations. > > This patch has the pattern matcher for complex numbers reject SLP trees where > the lanes

[PATCH] slp: reject non-multiple of 2 laned SLP trees (PR99825)

2021-03-30 Thread Tamar Christina via Gcc-patches
Hi Richi, TWO_OPERANDS allows any order or number of combinations of + and - operations but the pattern matcher only supports pairs of operations. This patch has the pattern matcher for complex numbers reject SLP trees where the lanes are not a multiple of 2. Bootstrapped Regtested on