> From: Yunze Zhu <yunze...@linux.alibaba.com> > > Fix a bug th.vsetvli generates from vext_x_v with an imm operand, > which reports illegal operand. This patch fix this by replacing > imm operand with reg operand in th.vsetvli.
LGTM but you might want to add check force_vector_length_operand which likely needs similar handling. -- Regards Robin