On Mon, Jun 7, 2021 at 7:59 PM Richard Biener
wrote:
>
> On Mon, Jun 7, 2021 at 4:19 PM H.J. Lu wrote:
> >
> > On Mon, Jun 7, 2021 at 12:12 AM Richard Sandiford
> > wrote:
> > >
> > > "H.J. Lu" writes:
> > > > Update vec_duplicate to allow to fail so that backend can only allow
> > > > broadcas
On Mon, Jun 7, 2021 at 4:19 PM H.J. Lu wrote:
>
> On Mon, Jun 7, 2021 at 12:12 AM Richard Sandiford
> wrote:
> >
> > "H.J. Lu" writes:
> > > Update vec_duplicate to allow to fail so that backend can only allow
> > > broadcasting an integer constant to a vector when broadcast instruction
> > > is
On Mon, Jun 7, 2021 at 12:12 AM Richard Sandiford
wrote:
>
> "H.J. Lu" writes:
> > Update vec_duplicate to allow to fail so that backend can only allow
> > broadcasting an integer constant to a vector when broadcast instruction
> > is available.
>
> I'm not sure why we need this to fail though.
"H.J. Lu" writes:
> Update vec_duplicate to allow to fail so that backend can only allow
> broadcasting an integer constant to a vector when broadcast instruction
> is available.
I'm not sure why we need this to fail though. Once the optab is defined
for target X, the optab should handle all dup