Re: [PATCH] Update SLP reductions process.

2024-07-18 Thread Richard Biener
On Thu, 18 Jul 2024, Jiawei wrote: > Thanks for your quick reply,sorry for the missing of information. > > I meet this problem in risc-v test: > > gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-8.c > > I found that this SLP change will add additional instrutions in the test, > please see this li

Re: [PATCH] Update SLP reductions process.

2024-07-18 Thread Jiawei
Thanks for your quick reply,sorry for the missing of information. I meet this problem in risc-v test: gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-8.c I found that this SLP change will add additional instrutions in the test, please see this link: https://godbolt.org/z/5Tfqs9zqj 在 2024/07/

Re: [PATCH] Update SLP reductions process.

2024-07-18 Thread Richard Biener
On Thu, 18 Jul 2024, Jiawei wrote: > This patch improves SLP reduction handling by ensuring proper processing > even for a single reduction statement.Vectorization instances are now built > only when there are multiple scalar statements to combine into an SLP > reduction. > > An example see htt

[PATCH] Update SLP reductions process.

2024-07-17 Thread Jiawei
This patch improves SLP reduction handling by ensuring proper processing even for a single reduction statement.Vectorization instances are now built only when there are multiple scalar statements to combine into an SLP reduction. An example see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110632