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