Hi, Richard and Richi. Recently, we have some tries on our downstream RVV LLVM. We change "get_vector_length" (same IR like GCC "select_vl") into "umin", turns out LLVM SCEV analysis succeed. The unroll PASS works in LLVM. I think Richard's suggestion is very reasonable. I didn't have the time take a look at how LLVM do now but I will take a look at it in the future. Thanks. juzhe.zhong@rivai.ai From: Richard Sandiford Date: 2023-06-02 19:43 To: juzhe.zhong\@rivai.ai CC: rguenther; gcc-patches; linkw Subject: Re: [PATCH V3] VECT: Change flow of decrement IV "juzhe.zhong@rivai.ai" writes: > Thanks Richi. I am gonna merge it after Richard's final approve. Thanks for checking, but no need to wait for a second ack from me! Please go ahead and commit. Richard