[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:35:04 PST 2025


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

I think it's not lol

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


More information about the cfe-commits mailing list