MIR Parser: Verify the implicit machine register operands.
[oota-llvm.git] / test / CodeGen / MIR / X86 / unknown-machine-basic-block.mir
index 5bc979a83eafd5738db46eb5189ada571db2f6ec..a82e9a780f542ecce304057c1e9f4abfa8b0257c 100644 (file)
@@ -26,12 +26,12 @@ body:
    name:         entry
    instructions:
      - '%eax = MOV32rm %rdi, 1, _, 0, _'
-     - 'CMP32ri8 %eax, 10'
+     - 'CMP32ri8 %eax, 10, implicit-def %eflags'
      # CHECK: [[@LINE+1]]:14: use of undefined machine basic block #4
-     - 'JG_1 %bb.4'
+     - 'JG_1 %bb.4, implicit %eflags'
  - id: 1
    instructions:
-     - '%eax = MOV32r0'
+     - '%eax = MOV32r0 implicit-def %eflags'
  - id: 2
    instructions:
      - 'RETQ %eax'