1 ; RUN: llc -verify-machineinstrs -o - %s -mtriple=arm64-apple-ios7.0 | FileCheck %s
3 @var = global float 0.0
8 ; CHECK: stp d15, d14, [sp
9 ; CHECK: stp d13, d12, [sp
10 ; CHECK: stp d11, d10, [sp
11 ; CHECK: stp d9, d8, [sp
13 ; Create lots of live variables to exhaust the supply of
14 ; caller-saved registers
15 %val1 = load volatile float, ptr @var
16 %val2 = load volatile float, ptr @var
17 %val3 = load volatile float, ptr @var
18 %val4 = load volatile float, ptr @var
19 %val5 = load volatile float, ptr @var
20 %val6 = load volatile float, ptr @var
21 %val7 = load volatile float, ptr @var
22 %val8 = load volatile float, ptr @var
23 %val9 = load volatile float, ptr @var
24 %val10 = load volatile float, ptr @var
25 %val11 = load volatile float, ptr @var
26 %val12 = load volatile float, ptr @var
27 %val13 = load volatile float, ptr @var
28 %val14 = load volatile float, ptr @var
29 %val15 = load volatile float, ptr @var
30 %val16 = load volatile float, ptr @var
31 %val17 = load volatile float, ptr @var
32 %val18 = load volatile float, ptr @var
33 %val19 = load volatile float, ptr @var
34 %val20 = load volatile float, ptr @var
35 %val21 = load volatile float, ptr @var
36 %val22 = load volatile float, ptr @var
37 %val23 = load volatile float, ptr @var
38 %val24 = load volatile float, ptr @var
39 %val25 = load volatile float, ptr @var
40 %val26 = load volatile float, ptr @var
41 %val27 = load volatile float, ptr @var
42 %val28 = load volatile float, ptr @var
43 %val29 = load volatile float, ptr @var
44 %val30 = load volatile float, ptr @var
45 %val31 = load volatile float, ptr @var
46 %val32 = load volatile float, ptr @var
48 store volatile float %val1, ptr @var
49 store volatile float %val2, ptr @var
50 store volatile float %val3, ptr @var
51 store volatile float %val4, ptr @var
52 store volatile float %val5, ptr @var
53 store volatile float %val6, ptr @var
54 store volatile float %val7, ptr @var
55 store volatile float %val8, ptr @var
56 store volatile float %val9, ptr @var
57 store volatile float %val10, ptr @var
58 store volatile float %val11, ptr @var
59 store volatile float %val12, ptr @var
60 store volatile float %val13, ptr @var
61 store volatile float %val14, ptr @var
62 store volatile float %val15, ptr @var
63 store volatile float %val16, ptr @var
64 store volatile float %val17, ptr @var
65 store volatile float %val18, ptr @var
66 store volatile float %val19, ptr @var
67 store volatile float %val20, ptr @var
68 store volatile float %val21, ptr @var
69 store volatile float %val22, ptr @var
70 store volatile float %val23, ptr @var
71 store volatile float %val24, ptr @var
72 store volatile float %val25, ptr @var
73 store volatile float %val26, ptr @var
74 store volatile float %val27, ptr @var
75 store volatile float %val28, ptr @var
76 store volatile float %val29, ptr @var
77 store volatile float %val30, ptr @var
78 store volatile float %val31, ptr @var
79 store volatile float %val32, ptr @var
81 ; CHECK: ldp d9, d8, [sp
82 ; CHECK: ldp d11, d10, [sp
83 ; CHECK: ldp d13, d12, [sp
84 ; CHECK: ldp d15, d14, [sp