[llvm] r346496 - [RISCV] Update test/CodeGen/RISCV/calling-conv.ll after rL346432
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 06:35:45 PST 2018
Author: asb
Date: Fri Nov 9 06:35:44 2018
New Revision: 346496
URL: http://llvm.org/viewvc/llvm-project?rev=346496&view=rev
Log:
[RISCV] Update test/CodeGen/RISCV/calling-conv.ll after rL346432
The DAGCombiner changes led to a different schedule.
Modified:
llvm/trunk/test/CodeGen/RISCV/calling-conv.ll
Modified: llvm/trunk/test/CodeGen/RISCV/calling-conv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/calling-conv.ll?rev=346496&r1=346495&r2=346496&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/calling-conv.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/calling-conv.ll Fri Nov 9 06:35:44 2018
@@ -997,14 +997,14 @@ define void @caller_large_scalar_ret() n
define void @callee_large_struct_ret(%struct.large* noalias sret %agg.result) nounwind {
; RV32I-FPELIM-LABEL: callee_large_struct_ret:
; RV32I-FPELIM: # %bb.0:
+; RV32I-FPELIM-NEXT: addi a1, zero, 4
+; RV32I-FPELIM-NEXT: sw a1, 12(a0)
+; RV32I-FPELIM-NEXT: addi a1, zero, 3
+; RV32I-FPELIM-NEXT: sw a1, 8(a0)
; RV32I-FPELIM-NEXT: addi a1, zero, 2
; RV32I-FPELIM-NEXT: sw a1, 4(a0)
; RV32I-FPELIM-NEXT: addi a1, zero, 1
; RV32I-FPELIM-NEXT: sw a1, 0(a0)
-; RV32I-FPELIM-NEXT: addi a1, zero, 3
-; RV32I-FPELIM-NEXT: sw a1, 8(a0)
-; RV32I-FPELIM-NEXT: addi a1, zero, 4
-; RV32I-FPELIM-NEXT: sw a1, 12(a0)
; RV32I-FPELIM-NEXT: ret
;
; RV32I-WITHFP-LABEL: callee_large_struct_ret:
@@ -1013,14 +1013,14 @@ define void @callee_large_struct_ret(%st
; RV32I-WITHFP-NEXT: sw ra, 12(sp)
; RV32I-WITHFP-NEXT: sw s0, 8(sp)
; RV32I-WITHFP-NEXT: addi s0, sp, 16
+; RV32I-WITHFP-NEXT: addi a1, zero, 4
+; RV32I-WITHFP-NEXT: sw a1, 12(a0)
+; RV32I-WITHFP-NEXT: addi a1, zero, 3
+; RV32I-WITHFP-NEXT: sw a1, 8(a0)
; RV32I-WITHFP-NEXT: addi a1, zero, 2
; RV32I-WITHFP-NEXT: sw a1, 4(a0)
; RV32I-WITHFP-NEXT: addi a1, zero, 1
; RV32I-WITHFP-NEXT: sw a1, 0(a0)
-; RV32I-WITHFP-NEXT: addi a1, zero, 3
-; RV32I-WITHFP-NEXT: sw a1, 8(a0)
-; RV32I-WITHFP-NEXT: addi a1, zero, 4
-; RV32I-WITHFP-NEXT: sw a1, 12(a0)
; RV32I-WITHFP-NEXT: lw s0, 8(sp)
; RV32I-WITHFP-NEXT: lw ra, 12(sp)
; RV32I-WITHFP-NEXT: addi sp, sp, 16
More information about the llvm-commits
mailing list