Re: [PATCH v2 1/2] IFN: Implement IFN_VEC_SET for ARRAY_REF with VIEW_CONVERT_EXPR

2020-09-21 Thread Richard Biener via Gcc-patches
On Fri, Sep 18, 2020 at 8:18 AM Xiong Hu Luo wrote: > > This patch enables transformation from ARRAY_REF(VIEW_CONVERT_EXPR) to > VEC_SET internal function in gimple-isel pass if target supports > vec_set with variable index by checking can_vec_set_var_idx_p. > > gcc/ChangeLog: > > 2020-09-18 Xion

Re: [PATCH v2 1/2] IFN: Implement IFN_VEC_SET for ARRAY_REF with VIEW_CONVERT_EXPR

2020-09-18 Thread Segher Boessenkool
On Fri, Sep 18, 2020 at 01:17:40AM -0500, Xiong Hu Luo wrote: > This patch enables transformation from ARRAY_REF(VIEW_CONVERT_EXPR) to > VEC_SET internal function in gimple-isel pass if target supports > vec_set with variable index by checking can_vec_set_var_idx_p. > + tree_code code = TREE_

[PATCH v2 1/2] IFN: Implement IFN_VEC_SET for ARRAY_REF with VIEW_CONVERT_EXPR

2020-09-17 Thread Xiong Hu Luo via Gcc-patches
This patch enables transformation from ARRAY_REF(VIEW_CONVERT_EXPR) to VEC_SET internal function in gimple-isel pass if target supports vec_set with variable index by checking can_vec_set_var_idx_p. gcc/ChangeLog: 2020-09-18 Xionghu Luo * gimple-isel.cc (gimple_expand_vec_set_expr): N