xref: /llvm-project/llvm/test/CodeGen/MIR/Generic/cfi-escape.mir (revision 4d81aec40c62a0599a4bfbd7b45df78b302dbc3c)
1# RUN: llc -run-pass none -o - %s | llc -x=mir -run-pass none -o - | FileCheck %s
2
3# Check that we don't print a trailing comma for CFI escape indices, and that
4# in general we can round trip them.
5
6name: func
7# CHECK-LABEL: name: func
8body: |
9  bb.0:
10    CFI_INSTRUCTION escape 0x61, 0x62, 0x63
11    ; CHECK: CFI_INSTRUCTION escape 0x61, 0x62, 0x63{{$}}
12