[compiler-rt] 3c88519 - [RISCV][compiler-rt] Add missing __riscv_save_1/0 labels for RV64

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 06:43:45 PDT 2021


Author: Jessica Clarke
Date: 2021-09-15T14:42:16+01:00
New Revision: 3c885190af219417a71e315e7c5999e67b783d03

URL: https://github.com/llvm/llvm-project/commit/3c885190af219417a71e315e7c5999e67b783d03
DIFF: https://github.com/llvm/llvm-project/commit/3c885190af219417a71e315e7c5999e67b783d03.diff

LOG: [RISCV][compiler-rt] Add missing __riscv_save_1/0 labels for RV64

These got missed in D91717.

Added: 
    

Modified: 
    compiler-rt/lib/builtins/riscv/save.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/riscv/save.S b/compiler-rt/lib/builtins/riscv/save.S
index d811bf584fc3a..85501aeb4c2e9 100644
--- a/compiler-rt/lib/builtins/riscv/save.S
+++ b/compiler-rt/lib/builtins/riscv/save.S
@@ -174,6 +174,8 @@ __riscv_save_2:
   .type   __riscv_save_1, at function
   .globl  __riscv_save_0
   .type   __riscv_save_0, at function
+__riscv_save_1:
+__riscv_save_0:
   addi   sp, sp, -16
   sd     s0, 0(sp)
   sd     ra, 8(sp)


        


More information about the llvm-commits mailing list