summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll b/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll
index 923b9a8c156..b5c0b991e6c 100644
--- a/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll
+++ b/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll
@@ -13,13 +13,11 @@ define double @func(double %d, i32 %n) nounwind {
; RV32IFD-NEXT: beqz a2, .LBB0_2
; RV32IFD-NEXT: # %bb.1: # %if.else
; RV32IFD-NEXT: addi a2, a2, -1
-; RV32IFD-NEXT: lui a0, %hi(func)
-; RV32IFD-NEXT: addi a3, a0, %lo(func)
; RV32IFD-NEXT: fsd ft0, 16(sp)
; RV32IFD-NEXT: lw a0, 16(sp)
; RV32IFD-NEXT: lw a1, 20(sp)
; RV32IFD-NEXT: fsd ft0, 8(sp)
-; RV32IFD-NEXT: jalr a3
+; RV32IFD-NEXT: call func
; RV32IFD-NEXT: sw a0, 16(sp)
; RV32IFD-NEXT: sw a1, 20(sp)
; RV32IFD-NEXT: fld ft0, 16(sp)
OpenPOWER on IntegriCloud