[clang] [RISCV][Sema] Add feature check for target attribute to VSETVL intrinsics (PR #126064)

Brandon Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 19:49:09 PST 2025


================
@@ -623,13 +623,37 @@ bool SemaRISCV::CheckBuiltinFunctionCall(const TargetInfo &TI,
   }
   }
 
+  auto checkVsetvl = [&](unsigned SEWOffset,
----------------
4vtomat wrote:

wait I have a question, is lambda treated as a function or a variabl, the reason I make first character lower case is because I treated it as a function lol

https://github.com/llvm/llvm-project/pull/126064


More information about the cfe-commits mailing list