1# RUN: llc -mtriple=aarch64--- -start-before=machine-outliner -enable-machine-outliner %s -o - | FileCheck %s 2 3# Check that a non tail called or thunk function is annotated properly with 4# only "Function" 5 6# CHECK-LABEL: OUTLINED_FUNCTION_0: 7# CHECK-SAME: // @OUTLINED_FUNCTION_0 Function 8# CHECK: mov w0, #1 9# CHECK-NEXT: mov w1, #2 10# CHECK-NEXT: mov w2, #3 11# CHECK-NEXT: mov w3, #4 12# CHECK-NEXT: ret 13 14--- 15name: a 16alignment: 4 17tracksRegLiveness: true 18machineFunctionInfo: 19 hasRedZone: false 20body: | 21 bb.0: 22 frame-setup CFI_INSTRUCTION def_cfa_offset 32 23 frame-setup CFI_INSTRUCTION offset $w19, -8 24 frame-setup CFI_INSTRUCTION offset $w30, -16 25 $w0 = MOVZWi 1, 0 26 $w1 = MOVZWi 2, 0 27 $w2 = MOVZWi 3, 0 28 $w3 = MOVZWi 4, 0 29 renamable $w19 = MOVZWi 2, 0 30 RET undef $lr 31 32... 33--- 34name: b 35alignment: 4 36tracksRegLiveness: true 37machineFunctionInfo: 38 hasRedZone: false 39body: | 40 bb.0: 41 frame-setup CFI_INSTRUCTION def_cfa_offset 32 42 frame-setup CFI_INSTRUCTION offset $w19, -8 43 frame-setup CFI_INSTRUCTION offset $w30, -16 44 $w0 = MOVZWi 1, 0 45 $w1 = MOVZWi 2, 0 46 $w2 = MOVZWi 3, 0 47 $w3 = MOVZWi 4, 0 48 renamable $w19 = MOVZWi 1, 0 49 RET undef $lr 50 51... 52