[llvm] [RISCV] Allocate the varargs GPR save area as a single object. (PR #74354)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 23:04:18 PST 2023
================
@@ -1060,14 +1060,14 @@ define i32 @varargs(ptr %fmt, ...) nounwind {
; RV64IZCMP-SR-NEXT: sd a5, 56(sp)
; RV64IZCMP-SR-NEXT: sd a4, 48(sp)
; RV64IZCMP-SR-NEXT: sd a3, 40(sp)
-; RV64IZCMP-SR-NEXT: sd a2, 32(sp)
-; RV64IZCMP-SR-NEXT: sd a1, 24(sp)
; RV64IZCMP-SR-NEXT: addi a0, sp, 24
; RV64IZCMP-SR-NEXT: sd a0, 8(sp)
; RV64IZCMP-SR-NEXT: lwu a0, 12(sp)
-; RV64IZCMP-SR-NEXT: lwu a1, 8(sp)
+; RV64IZCMP-SR-NEXT: lwu a3, 8(sp)
----------------
wangpc-pp wrote:
Any plan to rework these tests?
https://github.com/llvm/llvm-project/pull/74354
More information about the llvm-commits
mailing list