Re: [PATCH] RISC-V: Correct lmul estimation

2025-09-18 Thread Jeff Law
On 9/18/25 06:33, Zhongyao Chen wrote: From: Zhongyao Chen The vectorizer's compute_estimated_lmul function could previously return a bad value when the estimated lmul was larger than RVV_M8. This is corrected to return RVV_M8, preventing a register spill. The patch includes a new regressio

[PATCH] RISC-V: Correct lmul estimation

2025-09-18 Thread Zhongyao Chen
From: Zhongyao Chen The vectorizer's compute_estimated_lmul function could previously return a bad value when the estimated lmul was larger than RVV_M8. This is corrected to return RVV_M8, preventing a register spill. The patch includes a new regression test for PR target/121910, based on the x2