[clang] [llvm] [RISCV] Support resumable non-maskable interrupt handlers (PR #148134)
Gergely Futo via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 4 00:35:00 PDT 2025
================
@@ -0,0 +1,9 @@
+; RUN: not llc -mtriple riscv32-unknown-elf -mattr=-smrnmi -o - %s 2>&1 \
+; RUN: | FileCheck %s
+; RUN: not llc -mtriple riscv64-unknown-elf -mattr=-smrnmi -o - %s 2>&1 \
+; RUN: | FileCheck %s
+
+; CHECK: LLVM ERROR: Handling of resumable non-maskable interrupts handling requires Smrnmi extension
----------------
futog wrote:
```suggestion
; CHECK: LLVM ERROR: 'rnmi' interrupt kind requires Srnmi extension
```
https://github.com/llvm/llvm-project/pull/148134
More information about the cfe-commits
mailing list