[clang] [llvm] [RISCV] Support frame pointers in SiFive CLIC preemptible handlers (PR #221318)

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 19 00:03:34 PDT 2026


================
@@ -10,103 +10,111 @@ declare void @use(ptr)
 define void @preemptible() "interrupt"="SiFive-CLIC-preemptible" "frame-pointer"="all" {
 ; RV32-LABEL: preemptible:
 ; RV32:         sw t0, 16(sp)
-; RV32:         sw s0, 12(sp)
-; RV32:         addi s0, sp, 32
+; RV32:         .cfi_offset t0, -16
----------------
lenary wrote:

Can we regenerate this with update llc test checks please?

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


More information about the cfe-commits mailing list