1# RUN: llvm-mc %s -triple=mips-unknown-unknown -show-encoding -mcpu=mips32 | \ 2# RUN: FileCheck %s 3# RUN: llvm-mc %s -triple=mips64-unknown-unknown -show-encoding -mcpu=mips64 | \ 4# RUN: FileCheck %s 5 6# Check that we can accept register names in CFI directives and that they are 7# canonicalised to their DWARF register numbers. 8 9 .cfi_startproc # CHECK: .cfi_startproc 10 .cfi_register $6, $5 # CHECK: .cfi_register 6, 5 11 .cfi_def_cfa $fp, 8 # CHECK: .cfi_def_cfa 30, 8 12 .cfi_def_cfa $2, 16 # CHECK: .cfi_def_cfa 2, 16 13 .cfi_endproc # CHECK: .cfi_endproc 14