> +  /* CI selects eight accumulator elements, independently of VL and 
> the
> +     compiler accumulator type's LMUL.  Only use an exact VLEN here: a
> +     scalable target can guard larger offsets using the runtime VLEN.  */
> +  if (argno >= 3)
> +    {

Do we ever have fewer than 3 args?

> +      machine_mode acc_mode = arg_mode (argno - 3);
> +
> +      if (VECTOR_MODE_P (acc_mode)
> +       && GET_MODE_BITSIZE (acc_mode).is_constant ())
> +     {
> +       unsigned int vlen = BITS_PER_RISCV_VECTOR.to_constant ();

I should have read a bit further :)  I assumed we don't need vlen but we 
do.  Sorry, then please go back to the version you had.

OK with that fixed.

-- 
Regards
 Robin

Reply via email to