[PATCH] RISC-V: Fix vsetvl pass ICE

2023-08-30 Thread Lehua Ding
This patch fix pr111234 (a vsetvl pass ICE) when fuse a mask any vlmax vsetvl_vtype_change_only insn with a mu vsetvl insn. PR target/111234 gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (gen_vsetvl_pat): Remove condition. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-09-18 Thread Lehua Ding
zhong; kito.cheng; rdapp.gcc; palmer; jeffreyalaw Subject: [PATCH] RISC-V: Fix vsetvl pass ICE This patch fix pr111234 (a vsetvl pass ICE) when fuse a mask any vlmax vsetvl_vtype_change_only insn with a mu vsetvl insn. PR target/111234 gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (gen_vsetv

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-09-18 Thread Kito Cheng via Gcc-patches
runk. But not sure whether it's ok for GCC-13. > >>> > >>> > >>> > >>> juzhe.zh...@rivai.ai > >>> > >>> From: Lehua Ding > >>> Date: 2023-08-30 17:51 > >>> To: gcc-patches > >>> CC: juzhe.zh

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-09-18 Thread Lehua Ding
Hi Kito, On 2023/9/18 16:08, Kito Cheng wrote: - ./contrib/git-backport.py This step fails because of conflicts. So am I should send another patch based on the GCC 13 code? -- Best, Lehua

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-08-30 Thread juzhe.zh...@rivai.ai
Ok for trunk. But not sure whether it's ok for GCC-13. juzhe.zh...@rivai.ai From: Lehua Ding Date: 2023-08-30 17:51 To: gcc-patches CC: juzhe.zhong; kito.cheng; rdapp.gcc; palmer; jeffreyalaw Subject: [PATCH] RISC-V: Fix vsetvl pass ICE This patch fix pr111234 (a vsetvl pass ICE) when f

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-08-30 Thread Kito Cheng via Gcc-patches
> From: Lehua Ding > Date: 2023-08-30 17:51 > To: gcc-patches > CC: juzhe.zhong; kito.cheng; rdapp.gcc; palmer; jeffreyalaw > Subject: [PATCH] RISC-V: Fix vsetvl pass ICE > This patch fix pr111234 (a vsetvl pass ICE) when fuse a mask any > vlmax vsetvl_vtype_change_only insn with

Re: [PATCH] RISC-V: Fix vsetvl pass ICE

2023-08-30 Thread Lehua Ding
juzhe.zh...@rivai.ai wrote: Ok for trunk. But not sure whether it's ok for GCC-13. juzhe.zh...@rivai.ai From: Lehua Ding Date: 2023-08-30 17:51 To: gcc-patches CC: juzhe.zhong; kito.cheng; rdapp.gcc; palmer; jeffreyalaw Subject: [PATCH] RISC-V: Fix vsetvl pass ICE This patch fix pr1112

[PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-25 Thread juzhe . zhong
From: Juzhe-Zhong Fix bug reported here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109974 PR target/109974 gcc/ChangeLog: * config/riscv/riscv-vsetvl.cc (source_equal_p): Fix ICE. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/vsetvl/pr109974.c: New test. --- gc

Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-28 Thread juzhe.zh...@rivai.ai
This patch is fixing VSETVL PASS bug. Ok for trunk ? juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-05-26 11:01 To: gcc-patches CC: kito.cheng; kito.cheng; palmer; palmer; jeffreyalaw; rdapp.gcc; pan2.li; Juzhe-Zhong Subject: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-28 Thread Kito Cheng via Gcc-patches
kito.cheng; kito.cheng; palmer; palmer; jeffreyalaw; rdapp.gcc; > pan2.li; Juzhe-Zhong > Subject: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization > From: Juzhe-Zhong > > Fix bug reported here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109974 > > PR targe

Re: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-28 Thread juzhe.zh...@rivai.ai
Yes. juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-05-29 12:36 To: juzhe.zh...@rivai.ai CC: Kito.cheng; Robin Dapp; gcc-patches; jeffreyalaw; palmer; palmer; pan2.li Subject: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization Ok, and just make sure this only appear for trunk

RE: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization

2023-05-28 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan From: juzhe.zh...@rivai.ai Sent: Monday, May 29, 2023 2:02 PM To: kito.cheng Cc: Kito.cheng ; Robin Dapp ; gcc-patches ; jeffreyalaw ; palmer ; palmer ; Li, Pan2 Subject: Re: Re: [PATCH] RISC-V: Fix VSETVL PASS ICE on SLP auto-vectorization Yes