================
@@ -20,6 +20,12 @@ class RISCVBuiltin<string prototype, string features = ""> :
TargetBuiltin {
let Attributes = [NoThrow, Const] in {
//===----------------------------------------------------------------------===//
+// Zicsr extension.
+//===----------------------------------------------------------------------===//
+def csrr : RISCVBuiltin<"unsigned long int(unsigned long int)", "zicsr">;
----------------
nemanjai wrote:
I can certainly change it to `size_t`. And I'll move them out of the section
marked with `Const`.
https://github.com/llvm/llvm-project/pull/85091
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits