1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -o - %s -mtriple=thumbv8.1m.main-arm-none-eabi -mattr=+fullfp16 -run-pass=stack-protector -run-pass=prologepilog | FileCheck %s
5 tracksRegLiveness: true
7 - { id: 0, name: '', type: default, offset: 0, size: 2, alignment: 2,
8 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
9 local-offset: -1200, debug-info-variable: '', debug-info-expression: '',
10 debug-info-location: '' }
11 - { id: 1, name: '', type: default, offset: 0, size: 1200, alignment: 4,
12 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
13 local-offset: -2, debug-info-variable: '', debug-info-expression: '',
14 debug-info-location: '' }
17 ; CHECK-LABEL: name: func0
18 ; CHECK: liveins: $r4, $r5, $r6, $r7, $r8, $r9, $r10, $r11, $lr
19 ; CHECK: $sp = frame-setup t2STMDB_UPD $sp, 14, $noreg, killed $r4, killed $r5, killed $r6, killed $r7, killed $r8, killed $r9, killed $r10, killed $r11, killed $lr
20 ; CHECK: frame-setup CFI_INSTRUCTION def_cfa_offset 36
21 ; CHECK: frame-setup CFI_INSTRUCTION offset $lr, -4
22 ; CHECK: frame-setup CFI_INSTRUCTION offset $r11, -8
23 ; CHECK: frame-setup CFI_INSTRUCTION offset $r10, -12
24 ; CHECK: frame-setup CFI_INSTRUCTION offset $r9, -16
25 ; CHECK: frame-setup CFI_INSTRUCTION offset $r8, -20
26 ; CHECK: frame-setup CFI_INSTRUCTION offset $r7, -24
27 ; CHECK: frame-setup CFI_INSTRUCTION offset $r6, -28
28 ; CHECK: frame-setup CFI_INSTRUCTION offset $r5, -32
29 ; CHECK: frame-setup CFI_INSTRUCTION offset $r4, -36
30 ; CHECK: $sp = frame-setup t2SUBri killed $sp, 1208, 14, $noreg, $noreg
31 ; CHECK: frame-setup CFI_INSTRUCTION def_cfa_offset 1244
32 ; CHECK: $r0 = IMPLICIT_DEF
33 ; CHECK: $r1 = IMPLICIT_DEF
34 ; CHECK: $r2 = IMPLICIT_DEF
35 ; CHECK: $r3 = IMPLICIT_DEF
36 ; CHECK: $r4 = IMPLICIT_DEF
37 ; CHECK: $r5 = IMPLICIT_DEF
38 ; CHECK: $r6 = IMPLICIT_DEF
39 ; CHECK: $r7 = IMPLICIT_DEF
40 ; CHECK: $r8 = IMPLICIT_DEF
41 ; CHECK: $r9 = IMPLICIT_DEF
42 ; CHECK: $r10 = IMPLICIT_DEF
43 ; CHECK: $r11 = IMPLICIT_DEF
44 ; CHECK: $r12 = IMPLICIT_DEF
45 ; CHECK: $lr = IMPLICIT_DEF
46 ; CHECK: t2STRi12 killed $r0, $sp, 0, 14, $noreg :: (store 4 into %stack.2)
47 ; CHECK: $r0 = t2ADDri killed $sp, 1024, 14, $noreg, $noreg
48 ; CHECK: renamable $s4 = VLDRH killed $r0, 91, 14, $noreg :: (dereferenceable load 2 from %stack.0)
49 ; CHECK: $r0 = t2LDRi12 $sp, 0, 14, $noreg :: (load 4 from %stack.2)
79 renamable $s4 = VLDRH %stack.0, 0, 14, $noreg :: (dereferenceable load 2 from %stack.0)