14 lines · plain
1# RUN: llvm-mc %s -triple=mips-unknown-unknown -show-encoding -mcpu=mips32 | \2# RUN: FileCheck %s3# RUN: llvm-mc %s -triple=mips64-unknown-unknown -show-encoding -mcpu=mips64 | \4# RUN: FileCheck %s5 6# Check that we can accept register names in CFI directives and that they are7# canonicalised to their DWARF register numbers.8 9 .cfi_startproc # CHECK: .cfi_startproc10 .cfi_register $6, $5 # CHECK: .cfi_register 6, 511 .cfi_def_cfa $fp, 8 # CHECK: .cfi_def_cfa 30, 812 .cfi_def_cfa $2, 16 # CHECK: .cfi_def_cfa 2, 1613 .cfi_endproc # CHECK: .cfi_endproc14