Should it really be called autovec-max-lmul? We also use TARGET_MAX_LMUL for builtins etc. Or are we just following LLVM's naming here? Isn't -mrvv-max-lmul sufficient?
> PR target/112648 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112648> This PR is not really resolved or affected by the patch if I'm not mistaken. We still have code paths that will generate a larger LMUL (also in vsetvl last I checked, but that was a while ago). Regards Robin