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

2023-06-04 Thread 钟居哲
lly appreciate it. Thanks. juzhe.zh...@rivai.ai From: Richard Sandiford Date: 2023-06-05 05:59 To: juzhe.zhong CC: gcc-patches; rguenther Subject: Re: [PATCH] VECT: Add SELECT_VL support Sorry for the slow review. I don't know the IV-related parts well enough to review those properly,

Re: [PATCH] VECT: Add SELECT_VL support

2023-06-04 Thread Richard Sandiford via Gcc-patches
Sorry for the slow review. I don't know the IV-related parts well enough to review those properly, but they looked reasonable to me. Hopefully Richi can comment. I'm curious though. For: > + tree step = vect_dr_behavior (vinfo, dr_info)->step; > + > + [...] > + poly_uint64 bytesize = GET_MO

Re: [PATCH] VECT: Add SELECT_VL support

2023-05-30 Thread juzhe.zh...@rivai.ai
Hi, this patch is bootstrapped PASS. Ok for trunk ? Thanks. juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-05-25 23:26 To: gcc-patches CC: richard.sandiford; rguenther; Ju-Zhe Zhong Subject: [PATCH] VECT: Add SELECT_VL support From: Ju-Zhe Zhong This patch is adding SELECT_VL middle

[PATCH] VECT: Add SELECT_VL support

2023-05-25 Thread juzhe . zhong
From: Ju-Zhe Zhong This patch is adding SELECT_VL middle-end support allow target have target dependent optimization in case of length calculation. This patch is inspired by RVV ISA and LLVM: https://reviews.llvm.org/D99750 The SELECT_VL is same behavior as LLVM "get_vector_length" with these f