RE: [PATCH v1] RISC-V: Bugfix for the const vector in single steps

2023-12-19 Thread Li, Pan2
Oh, I see. Thanks Jeff for suggestion, will refine the commit log in V2. Pan -Original Message- From: Jeff Law Sent: Wednesday, December 20, 2023 12:03 PM To: juzhe.zh...@rivai.ai; Li, Pan2 ; gcc-patches Cc: Wang, Yanzhang ; kito.cheng Subject: Re: [PATCH v1] RISC-V: Bugfix for the

Re: [PATCH v1] RISC-V: Bugfix for the const vector in single steps

2023-12-19 Thread Jeff Law
On 12/19/23 19:50, juzhe.zh...@rivai.ai wrote: +   if (known_eq (ele_0 - 0, ele_n - v.npatterns ())) -> for (i = 0; i < v.npatterns (); )   check each nelt of npatterns is equal to vid. Pan -- please indicate what testing was performed. The standard is to test with and without the p

Re: [PATCH v1] RISC-V: Bugfix for the const vector in single steps

2023-12-19 Thread juzhe.zh...@rivai.ai
+ if (known_eq (ele_0 - 0, ele_n - v.npatterns ())) -> for (i = 0; i < v.npatterns (); ) check each nelt of npatterns is equal to vid. juzhe.zh...@rivai.ai From: pan2.li Date: 2023-12-20 10:39 To: gcc-patches CC: juzhe.zhong; pan2.li; yanzhang.wang; kito.cheng Subject: [PATCH v1] RI