Re: Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-09-25 Thread Richard Sandiford
Richard Biener writes: > On Mon, Sep 25, 2017 at 1:08 PM, Richard Sandiford > wrote: >> SVE needs a way of broadcasting a scalar to a variable-length vector. >> This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for >> fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUC

Re: Add VEC_DUPLICATE_{CST,EXPR} and associated optab

2017-09-25 Thread Richard Biener
On Mon, Sep 25, 2017 at 1:08 PM, Richard Sandiford wrote: > SVE needs a way of broadcasting a scalar to a variable-length vector. > This patch adds VEC_DUPLICATE_CST for when VECTOR_CST would be used for > fixed-length vectors and VEC_DUPLICATE_EXPR for when CONSTRUCTOR would > be used for fixed-l