MIR Serialization: Serialize the jump table index operands.
[oota-llvm.git] / test / CodeGen / MIR / X86 / dead-register-flag.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 the 'dead' register flags
3 # correctly.
4
5 --- |
6
7   define i32 @foo(i32 %a) #0 {
8   body:
9     %c = mul i32 %a, 11
10     ret i32 %c
11   }
12
13   attributes #0 = { "no-frame-pointer-elim"="false" }
14
15 ...
16 ---
17 name:            foo
18 body:
19   # CHECK: name: body
20   - id:          0
21     name:        body
22     instructions:
23       # CHECK: - '%eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags'
24       - '%eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags'
25       - 'RETQ %eax'
26 ...