[llvm] [RISCV][CFI] add function epilogue cfi information (PR #110234)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 14:28:48 PDT 2024


================
@@ -48,12 +48,14 @@ body: |
     ; CHECK-NEXT: $x10 = ADDI killed $x10, -2048
     ; CHECK-NEXT: $x10 = ADDI killed $x10, -224
     ; CHECK-NEXT: VS1R_V killed renamable $v8, killed renamable $x10
-    ; CHECK-NEXT: $x2 = frame-destroy ADDI $x8, -2048
-    ; CHECK-NEXT: $x2 = frame-destroy ADDI killed $x2, -224
-    ; CHECK-NEXT: $x2 = frame-destroy ADDI $x2, 240
+    ; CHECK-NEXT: $x2 = frame-destroy ADDI $x8, -2032
----------------
topperc wrote:

Is it possible to split the patch so that we get the changes to ADDIs here without the new CFI instructions? It's really hard to review all of the tests to see if anything changes other than CFI directives.

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


More information about the llvm-commits mailing list