[llvm] [CHERI] Add enum values and LL parse/print support for CHERI calling conventions. (PR #156328)

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 09:16:52 PDT 2025


================
@@ -287,6 +287,18 @@ namespace CallingConv {
     // Calling convention for AMDGPU whole wave functions.
     AMDGPU_Gfx_WholeWave = 124,
 
+    /// CHERIoT_CompartmentCall - Calling convention used for CHERI when
+    /// crossing a
+    /// protection boundary.
+    CHERIoT_CompartmentCall = 125,
+    /// CHERI_CCallee - Calling convention used for the callee of CHERI_CCall.
+    /// Ignores the first two capability arguments and the first integer
+    /// argument, zeroes all unused return registers on return.
+    CHERIoT_CompartmentCallee = 126,
+    /// CHERI_LibCall - Calling convention used for cross-library calls to a
----------------
resistor wrote:

Thanks, fixed.

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


More information about the llvm-commits mailing list