brintos

brintos / llvm-project-archived public Read only

0
0
Text · 784 B · f03dec0 Raw
29 lines · plain
1#RUN: llc -mtriple=aarch64-- -run-pass prologepilog %s -o - | FileCheck %s2# Check that we spill a scratch register, but not also an additional3# emergency spill slot.4---5name: big_stack6# CHECK-LABEL: name: big_stack7# CHECK: frame-setup STPXi killed $x20, killed $x198# CHECK: $sp = frame-setup SUBXri $sp, 8, 129# CHECK-NOT: frame-setup SUBXri $sp, 16, 010tracksRegLiveness: true11stack:12  - { id: 0, name: '', size: 32761, alignment: 8 }13body: |14  bb.0:15    $x19 = IMPLICIT_DEF16  ; $x20 can be used as scratch register.17    $x21 = IMPLICIT_DEF18    $x22 = IMPLICIT_DEF19    $x23 = IMPLICIT_DEF20    $x24 = IMPLICIT_DEF21    $x25 = IMPLICIT_DEF22    $x26 = IMPLICIT_DEF23    $x27 = IMPLICIT_DEF24    $x28 = IMPLICIT_DEF25    $lr  = IMPLICIT_DEF26    $fp  = IMPLICIT_DEF27    RET_ReallyLR28...29