[clang] [Clang][RISCV] Allow three SiFive CLIC interrupt arguments (PR #216159)

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 13:03:48 PDT 2026


================
@@ -16,6 +16,11 @@ void foo_nest_interrupt(void) {}
 __attribute__((interrupt("qci-nest", "qci-nest")))
 void foo_nest_nest_interrupt(void) {}
 
+// CHECK-LABEL: @foo_nest_nest_nest_interrupt() #0
+// CHECK: ret void
+__attribute__((interrupt("qci-nest", "qci-nest", "qci-nest")))
----------------
lenary wrote:

A follow-up commit might want to prevent duplicate attribute kinds in this list, but I don't think it would be a correctness issue once these are translated for the backend.

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


More information about the cfe-commits mailing list