diff options
Diffstat (limited to 'llvm/test/CodeGen/RISCV/byval.ll')
| -rw-r--r-- | llvm/test/CodeGen/RISCV/byval.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/RISCV/byval.ll b/llvm/test/CodeGen/RISCV/byval.ll index 9151f3b03e7c..c5e48ee75e48 100644 --- a/llvm/test/CodeGen/RISCV/byval.ll +++ b/llvm/test/CodeGen/RISCV/byval.ll @@ -22,15 +22,15 @@ define void @caller() nounwind { ; RV32I-NEXT: addi sp, sp, -32 ; RV32I-NEXT: sw ra, 28(sp) # 4-byte Folded Spill ; RV32I-NEXT: lui a0, %hi(foo) -; RV32I-NEXT: lw a1, %lo(foo)(a0) -; RV32I-NEXT: sw a1, 12(sp) ; RV32I-NEXT: addi a0, a0, %lo(foo) ; RV32I-NEXT: lw a1, 12(a0) ; RV32I-NEXT: sw a1, 24(sp) ; RV32I-NEXT: lw a1, 8(a0) ; RV32I-NEXT: sw a1, 20(sp) -; RV32I-NEXT: lw a0, 4(a0) -; RV32I-NEXT: sw a0, 16(sp) +; RV32I-NEXT: lw a1, 4(a0) +; RV32I-NEXT: sw a1, 16(sp) +; RV32I-NEXT: lw a0, 0(a0) +; RV32I-NEXT: sw a0, 12(sp) ; RV32I-NEXT: addi a0, sp, 12 ; RV32I-NEXT: call callee ; RV32I-NEXT: lw ra, 28(sp) # 4-byte Folded Reload |
