================ @@ -623,13 +623,37 @@ bool SemaRISCV::CheckBuiltinFunctionCall(const TargetInfo &TI, } } + auto checkVsetvl = [&](unsigned SEWOffset, ---------------- 4vtomat wrote: Agree, let me change it~ https://github.com/llvm/llvm-project/pull/126064