On Tue, Oct 30, 2018 at 9:36 PM H.J. Lu wrote:
> > Why not at the expand time? Rewrite vector constant as vec_duplicate
> > from memory and combine will do the stuff for you. We do have _bcst
> > instruction patterns.
> >
>
> Here is the updated patch to do that. OK for trunk?
Looks mostly good
On Mon, Oct 29, 2018 at 2:02 PM Uros Bizjak wrote:
>
> On Sat, Oct 27, 2018 at 8:03 AM H.J. Lu wrote:
> >
> > Use scalar operand in SF/DF/SI/DI vec_dup patterns which enables combiner
> > to generate
> >
> > (set (reg:V8SF 84)
> > (vec_duplicate:V8SF (mem/c:SF (symbol_ref:DI ("y")
> >
>