Re: [PATCH] Optimize nested permutation to single VEC_PERM_EXPR [PR54346]

2022-10-14 Thread Xu, Liwei via Gcc-patches
Hi Richard I just found that modifying match.pd may be a better way since for forwprop-19.c, VEC_PERM_EXPR exists in all gimple until 235t.optimize with current trunk code, that leave us no pass to ‘scan-tree-dump-not’. Best Regards Levy > On 14 Oct 2022, at 2:19 pm, Richard Biener wrote: >

Re: [PATCH] Optimize nested permutation to single VEC_PERM_EXPR [PR54346]

2022-10-13 Thread Xu, Liwei via Gcc-patches
Hi Richard Thank your for your detailed explanation, I’ll patch the test case with suggestions form LuLu. Best Levy > On 13 Oct 2022, at 7:12 pm, Richard Biener wrote: > > On Thu, Oct 13, 2022 at 10:16 AM Lulu Cheng wrote: >> >> >>> 在 2022/10/13 下午2:44, Xi Ruoyao 写道: >>> On Thu,

Re: [PATCH] Optimize nested permutation to single VEC_PERM_EXPR [PR54346]

2022-09-30 Thread Xu, Liwei via Gcc-patches
Hi Richard Sure, I’ll also check the VLA case once I’m back from vacation, thank you for your help. Best Regards Liwei > On 30 Sep 2022, at 5:17 pm, Richard Sandiford > wrote: > > Richard Biener writes: >>> On Mon, Sep 26, 2022 at 8:58 AM Liwei Xu wrote: >>> >>>This patch