[llvm] [clang] New calling convention preserve_none (PR #76868)

Shengchen Kan via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 18:30:21 PST 2024


================
@@ -1056,6 +1056,22 @@ def CC_Intel_OCL_BI : CallingConv<[
   CCDelegateTo<CC_X86_32_C>
 ]>;
 
+def CC_X86_64_Preserve_None : CallingConv<[
+  // We don't preserve general registers, so all of them can be used to pass
+  // arguments except
+  //   - RBP  frame pointer
----------------
KanRobert wrote:

It does not mention R16-R31

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


More information about the cfe-commits mailing list