[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / cfi-restore-extended.s
blobbcfcf782a786a3eb1a6ede008487f5101f129be3
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-dwarfdump -debug-frame - | FileCheck %s
3 // Check that register numbers greater than 63 can be used in .cfi_restore directives
4 f:
5 .cfi_startproc
6 nop
7 // CHECK: DW_CFA_advance_loc: 1
8 .cfi_restore %rbp
9 // CHECK-NEXT: DW_CFA_restore: RBP
10 nop
11 // CHECK-NEXT: DW_CFA_advance_loc: 1
12 .cfi_restore 89
13 // CHECK-NEXT: DW_CFA_restore_extended: reg89
14 // CHECK-NEXT: DW_CFA_nop:
15 nop
16 .cfi_endproc