From abf40caeb7d85d8fc842fe82215b19902b749481 Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Mon, 20 Oct 2025 18:37:13 +0200 Subject: std.builtin: add CallingConvention.msp430_interrupt Supported by LLVM and CBE. --- src/codegen/c.zig | 1 + src/codegen/llvm.zig | 1 + 2 files changed, 2 insertions(+) (limited to 'src/codegen') diff --git a/src/codegen/c.zig b/src/codegen/c.zig index cf0519e1f1..a47d031520 100644 --- a/src/codegen/c.zig +++ b/src/codegen/c.zig @@ -8113,6 +8113,7 @@ fn toCallingConvention(cc: std.builtin.CallingConvention, zcu: *Zcu) ?[]const u8 .avr_interrupt, .csky_interrupt, .m68k_interrupt, + .msp430_interrupt, .x86_interrupt, .x86_64_interrupt, => "interrupt", diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 3b3febf27e..9d23178887 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -11900,6 +11900,7 @@ fn toLlvmCallConvTag(cc_tag: std.builtin.CallingConvention.Tag, target: *const s .avr_interrupt => .avr_intrcc, .m68k_rtd => .m68k_rtdcc, .m68k_interrupt => .m68k_intrcc, + .msp430_interrupt => .msp430_intrcc, .amdgcn_kernel => .amdgpu_kernel, .amdgcn_cs => .amdgpu_cs, .nvptx_device => .ptx_device, -- cgit v1.2.3