On 3 May 2019 18:48:09 CEST, "H.J. Lu" wrote:
>On Fri, May 3, 2019 at 6:02 AM Richard Biener
>wrote:
>>
>>
>> The following refactors simplify_vector_constructor and adds
>> handling of constants to it in a straight-forward way.
>>
>> A followup will handle the testcases posted in HJs patch.
>>
>
On Fri, 3 May 2019, H.J. Lu wrote:
> On Fri, May 3, 2019 at 6:02 AM Richard Biener wrote:
> >
> >
> > The following refactors simplify_vector_constructor and adds
> > handling of constants to it in a straight-forward way.
> >
> > A followup will handle the testcases posted in HJs patch.
...
> > -
if (conv_code == ERROR_MARK)
> gimple_assign_set_rhs_with_ops (gsi, VEC_PERM_EXPR, orig[0],
> orig[1], op2);
> + else if (TREE_CODE (orig[1]) == VECTOR_CST)
> + {
> + gimple *conv
> + = gimple_build_assig
The following refactors simplify_vector_constructor and adds
handling of constants to it in a straight-forward way.
A followup will handle the testcases posted in HJs patch.
Bootstrap / regtest running on x86_64-unknown-linux-gnu.
Richard.
2019-05-03 Richard Biener
PR tree-optimiz