Re: [PATCH] tree-optimization/94865 - combine BIT_INSERT_EXPR of BIT_FIELD_REF

2020-05-07 Thread Richard Biener
On Thu, 7 May 2020, Richard Sandiford wrote: > Richard Biener writes: > > On Thu, 7 May 2020, Richard Sandiford wrote: > > > >> Richard Biener writes: > >> > This implements patterns combining vector element insertion of > >> > vector element extraction to a VEC_PERM_EXPR of both vectors > >> >

Re: [PATCH] tree-optimization/94865 - combine BIT_INSERT_EXPR of BIT_FIELD_REF

2020-05-07 Thread Richard Sandiford
Richard Biener writes: > On Thu, 7 May 2020, Richard Sandiford wrote: > >> Richard Biener writes: >> > This implements patterns combining vector element insertion of >> > vector element extraction to a VEC_PERM_EXPR of both vectors >> > when supported. Plus it adds the more generic identity tran

Re: [PATCH] tree-optimization/94865 - combine BIT_INSERT_EXPR of BIT_FIELD_REF

2020-05-07 Thread Richard Biener
On Thu, 7 May 2020, Richard Sandiford wrote: > Richard Biener writes: > > This implements patterns combining vector element insertion of > > vector element extraction to a VEC_PERM_EXPR of both vectors > > when supported. Plus it adds the more generic identity transform > > of inserting a piece

Re: [PATCH] tree-optimization/94865 - combine BIT_INSERT_EXPR of BIT_FIELD_REF

2020-05-07 Thread Richard Sandiford
Richard Biener writes: > This implements patterns combining vector element insertion of > vector element extraction to a VEC_PERM_EXPR of both vectors > when supported. Plus it adds the more generic identity transform > of inserting a piece of itself at the same position. > > Richard - is there a

[PATCH] tree-optimization/94865 - combine BIT_INSERT_EXPR of BIT_FIELD_REF

2020-05-07 Thread Richard Biener
This implements patterns combining vector element insertion of vector element extraction to a VEC_PERM_EXPR of both vectors when supported. Plus it adds the more generic identity transform of inserting a piece of itself at the same position. Richard - is there anything I can do to make this SVE a