Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / cfi.s
blobcbb9d954afe8a9da239dde88379f4314c165893d
1 // RUN: llvm-mc -triple aarch64-- -o - %s | FileCheck %s
3 fun:
4 // CHECK: .cfi_startproc
5 // CHECK-NEXT: stp
6 .cfi_startproc
7 stp x29, x30, [sp, #-16]!
8 // CHECK: .cfi_offset w29, -16
9 // CHECK-NEXT: .cfi_offset w30, -8
10 .cfi_offset w29, -16
11 .cfi_offset w30, -8
12 mov x29, sp
13 // CHECK: .cfi_def_cfa w29, 16
14 // CHECK-NEXT: .cfi_restore w30
15 // CHECK-NEXT: ldr
16 // CHECK-NEXT: .cfi_restore w29
17 .cfi_def_cfa w29, 16
18 .cfi_restore w30
19 ldr x29, [sp], #16
20 .cfi_restore w29
21 ret
22 .cfi_endproc
23 // CHECK: .cfi_endproc