Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread 钟居哲
; richard.sandiford Subject: Re: Re: [PATCH V3] VECT: Add SELECT_VL support On Wed, 7 Jun 2023, juzhe.zh...@rivai.ai wrote: > Hi, Richi. Since SELECT_VL only apply on single-rgroup (ncopies == 1 && > vec_num == 1) > Should I make SELECT_VL stuff out side the loop? > > for

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread Richard Biener via Gcc-patches
On Wed, 7 Jun 2023, juzhe.zh...@rivai.ai wrote: > Hi, Richi. Since SELECT_VL only apply on single-rgroup (ncopies == 1 && > vec_num == 1) > Should I make SELECT_VL stuff out side the loop? > > for (i = 0; i < vec_num; i++) > for (j = 0; j < ncopies; j++) > No, but please put assertions i

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread juzhe.zh...@rivai.ai
Hi, Richi. Since SELECT_VL only apply on single-rgroup (ncopies == 1 && vec_num == 1) Should I make SELECT_VL stuff out side the loop? for (i = 0; i < vec_num; i++) for (j = 0; j < ncopies; j++) Thanks. juzhe.zh...@rivai.ai From: Richard Biener Date: 2023-06-07 15:41 To: Ju-Zhe Zhong

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread juzhe.zh...@rivai.ai
Hi, Richi. Thanks for review. >> At least for VMAT_GATHER_SCATTER you wouldn't execute this function >> but get into >>This function belongs to tree-vect-data-refs.cc alongside the >>other vect_create_data_ref_* functions. I want to support data reference pointer adjusted by outcome of SELECT_VL.