[llvm-branch-commits] [llvm] [RISCV][CFI] add function epilogue cfi information (PR #110810)

Kito Cheng via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 2 06:21:19 PDT 2024


================
@@ -62,6 +69,8 @@ define i32 @callee_float_in_regs(i32 %a, float %b) {
 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    mv a0, a1
 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    call __fixsfsi
 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    add a0, s0, a0
+; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    .cfi_restore ra
+; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    .cfi_restore s0
 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT:    tail __riscv_restore_1
----------------
kito-cheng wrote:

Just put a link for the comment I leave in your prev PR to prevent I forgot this 
https://github.com/llvm/llvm-project/pull/110234#pullrequestreview-2342046243

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


More information about the llvm-branch-commits mailing list