Re: [PATCH] RISC-V: Support combine extend and reduce sum to widen reduce sum

2023-09-14 Thread Lehua Ding
Committed, thanks Kito. On 2023/9/15 0:05, Kito Cheng wrote: LGTM On Thu, Sep 14, 2023 at 11:51 PM Lehua Ding wrote: This patch add combine pattern to combine extend and reduce sum to widen reduce sum. The pattern in autovec.md was adjusted as needed. Note that the current vectorization cann

Re: [PATCH] RISC-V: Support combine extend and reduce sum to widen reduce sum

2023-09-14 Thread Kito Cheng via Gcc-patches
LGTM On Thu, Sep 14, 2023 at 11:51 PM Lehua Ding wrote: > > This patch add combine pattern to combine extend and reduce sum > to widen reduce sum. The pattern in autovec.md was adjusted as > needed. Note that the current vectorization cannot generate reduce > openrand which is LMUL=M8, because th

[PATCH] RISC-V: Support combine extend and reduce sum to widen reduce sum

2023-09-14 Thread Lehua Ding
This patch add combine pattern to combine extend and reduce sum to widen reduce sum. The pattern in autovec.md was adjusted as needed. Note that the current vectorization cannot generate reduce openrand which is LMUL=M8, because this means that we need an LMUL=M16 for the extended openrand, which i