[compiler-rt] b8d83e8 - [RISCV][compiler-rt] Fix an incorrect comment for RV64 __riscv_restore_12

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


Author: Jessica Clarke
Date: 2021-09-15T15:25:59+01:00
New Revision: b8d83e83be0fd841f71bae07b664896aec88a5a7

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

LOG: [RISCV][compiler-rt] Fix an incorrect comment for RV64 __riscv_restore_12

This was presumably copied from the RV32 implementation and not updated
like the rest.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/riscv/restore.S b/compiler-rt/lib/builtins/riscv/restore.S
index 60427a7b0596..73f64a920d66 100644
--- a/compiler-rt/lib/builtins/riscv/restore.S
+++ b/compiler-rt/lib/builtins/riscv/restore.S
@@ -93,7 +93,7 @@ __riscv_restore_0:
 __riscv_restore_12:
   ld      s11, 8(sp)
   addi    sp, sp, 16
-  // fallthrough into __riscv_restore_11/10/9/8
+  // fallthrough into __riscv_restore_11/10
 
   .globl  __riscv_restore_11
   .type   __riscv_restore_11, at function


        


More information about the llvm-commits mailing list