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