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.
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
10 tracksRegLiveness: true
12 - { id: 0, name: '', size: 32761, alignment: 8 }
16 ; $x20 can be used as scratch register.