MIR Serialization: Serialize the jump table index operands.
[oota-llvm.git] / test / CodeGen / MIR / X86 / named-registers.mir
1 # RUN: llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
2 # This test ensures that the MIR parser parses X86 registers correctly.
3
4 --- |
5
6   define i32 @foo() {
7   entry:
8     ret i32 0
9   }
10
11 ...
12 ---
13 # CHECK: name: foo
14 name:            foo
15 body:
16  - id:           0
17    name:         entry
18    instructions:
19      # CHECK:      - '%eax = MOV32r0
20      # CHECK-NEXT: - 'RETQ %eax
21      - '%eax = MOV32r0 implicit-def %eflags'
22      - 'RETQ %eax'
23 ...