1#RUN: llc -mtriple=aarch64-- -run-pass prologepilog %s -o - | FileCheck %s 2# Check that we spill a scratch register, but not also an additional 3# emergency spill slot. 4--- 5name: big_stack 6# CHECK-LABEL: name: big_stack 7# CHECK: frame-setup STPXi killed $x20, killed $x19 8# CHECK: $sp = frame-setup SUBXri $sp, 8, 12 9# CHECK-NOT: frame-setup SUBXri $sp, 16, 0 10tracksRegLiveness: true 11stack: 12 - { id: 0, name: '', size: 32761, alignment: 8 } 13body: | 14 bb.0: 15 $x19 = IMPLICIT_DEF 16 ; $x20 can be used as scratch register. 17 $x21 = IMPLICIT_DEF 18 $x22 = IMPLICIT_DEF 19 $x23 = IMPLICIT_DEF 20 $x24 = IMPLICIT_DEF 21 $x25 = IMPLICIT_DEF 22 $x26 = IMPLICIT_DEF 23 $x27 = IMPLICIT_DEF 24 $x28 = IMPLICIT_DEF 25 $lr = IMPLICIT_DEF 26 $fp = IMPLICIT_DEF 27 RET_ReallyLR 28... 29