Re: [PATCH] middle-end/104497 - gimplification of vector indexing

2022-02-14 Thread Richard Biener via Gcc-patches
On Fri, 11 Feb 2022, Jason Merrill wrote: > On 2/11/22 06:26, Richard Biener wrote: > > The following attempts to address gimplification of > > > > ... = VIEW_CONVERT_EXPR((i & 1) != 0 ? inv : src)[i]; > > > > which is problematic since gimplifying the base object > > ? inv : src produces a

Re: [PATCH] middle-end/104497 - gimplification of vector indexing

2022-02-11 Thread Jason Merrill via Gcc-patches
On 2/11/22 06:26, Richard Biener wrote: The following attempts to address gimplification of ... = VIEW_CONVERT_EXPR((i & 1) != 0 ? inv : src)[i]; which is problematic since gimplifying the base object ? inv : src produces a register temporary but GIMPLE does not really support a register as