Re: Re: [PATCH] RISC-V: Fix PR109535

2023-04-18 Thread juzhe.zhong
(reg:QI s0) (reg:DI s0)) The "avl" operand rtx = (reg:DI s0) count_occurrences return 1 however the actual regno occurrences should be 2. Thanks juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-04-19 03:00 To: juzhe.zhong; gcc-patches CC: kito.cheng; palmer Subject: Re:

Re: [PATCH] RISC-V: Fix PR109535

2023-04-18 Thread Kito Cheng via Gcc-patches
Hi Jeff, Ju-Zhe: Let you know that I am running creduce with this testcase for reduce the size of testcsae, it's really too huge... On Wed, Apr 19, 2023 at 3:00 AM Jeff Law via Gcc-patches wrote: > > > > On 4/17/23 20:03, juzhe.zh...@rivai.ai wrote: > > From: Ju-Zhe Zhong > > > > gcc/ChangeLog:

Re: [PATCH] RISC-V: Fix PR109535

2023-04-18 Thread Jeff Law via Gcc-patches
On 4/17/23 20:03, juzhe.zh...@rivai.ai wrote: From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (count_regno_occurrences): New function. (pass_vsetvl::cleanup_insns): Fix bug. ChangeLog should reference the bug number, like this: PR target/109535