[llvm] 51089db - [test] Regenerate checks in aarch64_win64cc_vararg.ll with update_llc_test_checks.py. NFC.
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Fri May 29 23:23:02 PDT 2020
Author: Martin Storsjö
Date: 2020-05-30T09:22:09+03:00
New Revision: 51089db6d7554cefc6c57e6f10a7f876e2dd629e
URL: https://github.com/llvm/llvm-project/commit/51089db6d7554cefc6c57e6f10a7f876e2dd629e
DIFF: https://github.com/llvm/llvm-project/commit/51089db6d7554cefc6c57e6f10a7f876e2dd629e.diff
LOG: [test] Regenerate checks in aarch64_win64cc_vararg.ll with update_llc_test_checks.py. NFC.
Added:
Modified:
llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll b/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll
index 416232978486..fe1a1f0e5813 100644
--- a/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll
+++ b/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll
@@ -1,20 +1,23 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=aarch64-linux-gnu | FileCheck %s
define win64cc void @pass_va(i32 %count, ...) nounwind {
+; CHECK-LABEL: pass_va:
+; CHECK: // %bb.0: // %entry
+; CHECK-NEXT: sub sp, sp, #96 // =96
+; CHECK-NEXT: add x8, sp, #40 // =40
+; CHECK-NEXT: add x0, sp, #40 // =40
+; CHECK-NEXT: stp x30, x18, [sp, #16] // 16-byte Folded Spill
+; CHECK-NEXT: stp x1, x2, [sp, #40]
+; CHECK-NEXT: stp x3, x4, [sp, #56]
+; CHECK-NEXT: stp x5, x6, [sp, #72]
+; CHECK-NEXT: str x7, [sp, #88]
+; CHECK-NEXT: str x8, [sp, #8]
+; CHECK-NEXT: bl other_func
+; CHECK-NEXT: ldp x30, x18, [sp, #16] // 16-byte Folded Reload
+; CHECK-NEXT: add sp, sp, #96 // =96
+; CHECK-NEXT: ret
entry:
-; CHECK: sub sp, sp, #96
-; CHECK: add x8, sp, #40
-; CHECK: add x0, sp, #40
-; CHECK: stp x30, x18, [sp, #16]
-; CHECK: stp x1, x2, [sp, #40]
-; CHECK: stp x3, x4, [sp, #56]
-; CHECK: stp x5, x6, [sp, #72]
-; CHECK: str x7, [sp, #88]
-; CHECK: str x8, [sp, #8]
-; CHECK: bl other_func
-; CHECK: ldp x30, x18, [sp, #16]
-; CHECK: add sp, sp, #96
-; CHECK: ret
%ap = alloca i8*, align 8
%ap1 = bitcast i8** %ap to i8*
call void @llvm.va_start(i8* %ap1)
@@ -28,14 +31,15 @@ declare void @other_func(i8*) local_unnamed_addr
declare void @llvm.va_start(i8*) nounwind
declare void @llvm.va_copy(i8*, i8*) nounwind
-; CHECK-LABEL: f9:
-; CHECK: str x18, [sp, #-16]!
-; CHECK: add x8, sp, #24
-; CHECK: add x0, sp, #24
-; CHECK: str x8, [sp, #8]
-; CHECK: ldr x18, [sp], #16
-; CHECK: ret
define win64cc i8* @f9(i64 %a0, i64 %a1, i64 %a2, i64 %a3, i64 %a4, i64 %a5, i64 %a6, i64 %a7, i64 %a8, ...) nounwind {
+; CHECK-LABEL: f9:
+; CHECK: // %bb.0: // %entry
+; CHECK-NEXT: str x18, [sp, #-16]! // 8-byte Folded Spill
+; CHECK-NEXT: add x8, sp, #24 // =24
+; CHECK-NEXT: add x0, sp, #24 // =24
+; CHECK-NEXT: str x8, [sp, #8]
+; CHECK-NEXT: ldr x18, [sp], #16 // 8-byte Folded Reload
+; CHECK-NEXT: ret
entry:
%ap = alloca i8*, align 8
%ap1 = bitcast i8** %ap to i8*
@@ -44,14 +48,15 @@ entry:
ret i8* %ap2
}
-; CHECK-LABEL: f8:
-; CHECK: str x18, [sp, #-16]!
-; CHECK: add x8, sp, #16
-; CHECK: add x0, sp, #16
-; CHECK: str x8, [sp, #8]
-; CHECK: ldr x18, [sp], #16
-; CHECK: ret
define win64cc i8* @f8(i64 %a0, i64 %a1, i64 %a2, i64 %a3, i64 %a4, i64 %a5, i64 %a6, i64 %a7, ...) nounwind {
+; CHECK-LABEL: f8:
+; CHECK: // %bb.0: // %entry
+; CHECK-NEXT: str x18, [sp, #-16]! // 8-byte Folded Spill
+; CHECK-NEXT: add x8, sp, #16 // =16
+; CHECK-NEXT: add x0, sp, #16 // =16
+; CHECK-NEXT: str x8, [sp, #8]
+; CHECK-NEXT: ldr x18, [sp], #16 // 8-byte Folded Reload
+; CHECK-NEXT: ret
entry:
%ap = alloca i8*, align 8
%ap1 = bitcast i8** %ap to i8*
@@ -60,15 +65,16 @@ entry:
ret i8* %ap2
}
-; CHECK-LABEL: f7:
-; CHECK: str x18, [sp, #-32]!
-; CHECK: add x8, sp, #24
-; CHECK: str x7, [sp, #24]
-; CHECK: add x0, sp, #24
-; CHECK: str x8, [sp, #8]
-; CHECK: ldr x18, [sp], #32
-; CHECK: ret
define win64cc i8* @f7(i64 %a0, i64 %a1, i64 %a2, i64 %a3, i64 %a4, i64 %a5, i64 %a6, ...) nounwind {
+; CHECK-LABEL: f7:
+; CHECK: // %bb.0: // %entry
+; CHECK-NEXT: str x18, [sp, #-32]! // 8-byte Folded Spill
+; CHECK-NEXT: add x8, sp, #24 // =24
+; CHECK-NEXT: str x7, [sp, #24]
+; CHECK-NEXT: add x0, sp, #24 // =24
+; CHECK-NEXT: str x8, [sp, #8]
+; CHECK-NEXT: ldr x18, [sp], #32 // 8-byte Folded Reload
+; CHECK-NEXT: ret
entry:
%ap = alloca i8*, align 8
%ap1 = bitcast i8** %ap to i8*
More information about the llvm-commits
mailing list