Re: [PATCH][v2] Handle NULL stmt in SLP_TREE_SCALAR_STMTS

2024-07-03 Thread Richard Biener
On Wed, 3 Jul 2024, Richard Sandiford wrote: > Richard Biener writes: > > The following starts to handle NULL elements in SLP_TREE_SCALAR_STMTS > > with the first candidate being the two-operator nodes where some > > lanes are do-not-care and also do not have a scalar stmt computing > > the resul

Re: [PATCH][v2] Handle NULL stmt in SLP_TREE_SCALAR_STMTS

2024-07-03 Thread Richard Sandiford
Richard Biener writes: > The following starts to handle NULL elements in SLP_TREE_SCALAR_STMTS > with the first candidate being the two-operator nodes where some > lanes are do-not-care and also do not have a scalar stmt computing > the result. I originally added SLP_TREE_SCALAR_STMTS to two-oper

[PATCH][v2] Handle NULL stmt in SLP_TREE_SCALAR_STMTS

2024-07-03 Thread Richard Biener
The following starts to handle NULL elements in SLP_TREE_SCALAR_STMTS with the first candidate being the two-operator nodes where some lanes are do-not-care and also do not have a scalar stmt computing the result. I originally added SLP_TREE_SCALAR_STMTS to two-operator nodes but this exposes PR11