================
@@ -152,12 +152,22 @@ namespace clang {
   };
   }
 
+  namespace RISCVXCV {
+  enum {
+    LastRVVBuiltin = RISCVVector::FirstTSBuiltin - 1,
+#define BUILTIN(ID, TYPE, ATTRS) BI__builtin_riscv_cv_##ID,
+#include "clang/Basic/BuiltinsRISCVXCV.def"
----------------
topperc wrote:

Can we include BuiltinsRISCVXCV.def from BuiltinsRISCV.def and not create a new 
RISCVXCV namespace? RVV it separated because we use FirstRVVBuiltin and 
LastRVVBuiltin to catch all RVV builtins for some code.

https://github.com/llvm/llvm-project/pull/100684
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to