1 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
3 ; Make sure all regs are spilled
4 define anyregcc void @anyregcc1() {
6 ;CHECK-LABEL: anyregcc1
7 ;CHECK: stmg %r2, %r15, 16(%r15)
40 call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3},~{r4},~{r5},~{r6},~{r7},~{r8},~{r9},~{r10},~{r11},~{r12},~{r13},~{r14},~{v0},~{v1},~{v2},~{v3},~{v4},~{v5},~{v6},~{v7},~{v8},~{v9},~{v10},~{v11},~{v12},~{v13},~{v14},~{v15},~{v16},~{v17},~{v18},~{v19},~{v20},~{v21},~{v22},~{v23},~{v24},~{v25},~{v26},~{v27},~{v28},~{v29},~{v30},~{v31}"() nounwind
44 ; Make sure we don't spill any FPs
45 declare anyregcc void @foo()
46 define void @anyregcc2() {
48 ;CHECK-LABEL: anyregcc2
53 ;CHECK-NEXT: std %f10,
54 ;CHECK-NEXT: std %f11,
55 ;CHECK-NEXT: std %f12,
56 ;CHECK-NEXT: std %f13,
57 ;CHECK-NEXT: std %f14,
58 ;CHECK-NEXT: std %f15,
61 %a0 = call <2 x i64> asm sideeffect "", "={v0}"() nounwind
62 %a1 = call <2 x i64> asm sideeffect "", "={v1}"() nounwind
63 %a2 = call <2 x i64> asm sideeffect "", "={v2}"() nounwind
64 %a3 = call <2 x i64> asm sideeffect "", "={v3}"() nounwind
65 %a4 = call <2 x i64> asm sideeffect "", "={v4}"() nounwind
66 %a5 = call <2 x i64> asm sideeffect "", "={v5}"() nounwind
67 %a6 = call <2 x i64> asm sideeffect "", "={v6}"() nounwind
68 %a7 = call <2 x i64> asm sideeffect "", "={v7}"() nounwind
69 %a8 = call <2 x i64> asm sideeffect "", "={v8}"() nounwind
70 %a9 = call <2 x i64> asm sideeffect "", "={v9}"() nounwind
71 %a10 = call <2 x i64> asm sideeffect "", "={v10}"() nounwind
72 %a11 = call <2 x i64> asm sideeffect "", "={v11}"() nounwind
73 %a12 = call <2 x i64> asm sideeffect "", "={v12}"() nounwind
74 %a13 = call <2 x i64> asm sideeffect "", "={v13}"() nounwind
75 %a14 = call <2 x i64> asm sideeffect "", "={v14}"() nounwind
76 %a15 = call <2 x i64> asm sideeffect "", "={v15}"() nounwind
77 %a16 = call <2 x i64> asm sideeffect "", "={v16}"() nounwind
78 %a17 = call <2 x i64> asm sideeffect "", "={v17}"() nounwind
79 %a18 = call <2 x i64> asm sideeffect "", "={v18}"() nounwind
80 %a19 = call <2 x i64> asm sideeffect "", "={v19}"() nounwind
81 %a20 = call <2 x i64> asm sideeffect "", "={v20}"() nounwind
82 %a21 = call <2 x i64> asm sideeffect "", "={v21}"() nounwind
83 %a22 = call <2 x i64> asm sideeffect "", "={v22}"() nounwind
84 %a23 = call <2 x i64> asm sideeffect "", "={v23}"() nounwind
85 %a24 = call <2 x i64> asm sideeffect "", "={v24}"() nounwind
86 %a25 = call <2 x i64> asm sideeffect "", "={v25}"() nounwind
87 %a26 = call <2 x i64> asm sideeffect "", "={v26}"() nounwind
88 %a27 = call <2 x i64> asm sideeffect "", "={v27}"() nounwind
89 %a28 = call <2 x i64> asm sideeffect "", "={v28}"() nounwind
90 %a29 = call <2 x i64> asm sideeffect "", "={v29}"() nounwind
91 %a30 = call <2 x i64> asm sideeffect "", "={v30}"() nounwind
92 %a31 = call <2 x i64> asm sideeffect "", "={v31}"() nounwind
93 call anyregcc void @foo()
94 call void asm sideeffect "", "{v0},{v1},{v2},{v3},{v4},{v5},{v6},{v7},{v8},{v9},{v10},{v11},{v12},{v13},{v14},{v15},{v16},{v17},{v18},{v19},{v20},{v21},{v22},{v23},{v24},{v25},{v26},{v27},{v28},{v29},{v30},{v31}"(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> %a2, <2 x i64> %a3, <2 x i64> %a4, <2 x i64> %a5, <2 x i64> %a6, <2 x i64> %a7, <2 x i64> %a8, <2 x i64> %a9, <2 x i64> %a10, <2 x i64> %a11, <2 x i64> %a12, <2 x i64> %a13, <2 x i64> %a14, <2 x i64> %a15, <2 x i64> %a16, <2 x i64> %a17, <2 x i64> %a18, <2 x i64> %a19, <2 x i64> %a20, <2 x i64> %a21, <2 x i64> %a22, <2 x i64> %a23, <2 x i64> %a24, <2 x i64> %a25, <2 x i64> %a26, <2 x i64> %a27, <2 x i64> %a28, <2 x i64> %a29, <2 x i64> %a30, <2 x i64> %a31)
98 declare void @llvm.experimental.patchpoint.void(i64, i32, ptr, i32, ...)
99 declare i64 @llvm.experimental.patchpoint.i64(i64, i32, ptr, i32, ...)