diff options
Diffstat (limited to 'llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir')
-rw-r--r-- | llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir b/llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir index c5f5aaca34e..d2c55bdc7b8 100644 --- a/llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir +++ b/llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir @@ -19,20 +19,16 @@ ... --- name: foo -body: - - id: 0 - name: entry - instructions: - - '%eax = MOV32rm %rdi, 1, _, 0, _' - - 'CMP32ri8 %eax, 10, implicit-def %eflags' -# CHECK: [[@LINE+1]]:26: expected an implicit register operand 'implicit %eflags' - - 'JG_1 %bb.2.exit, implicit %eax' - - id: 1 - name: less - instructions: - - '%eax = MOV32r0 implicit-def %eflags' - - id: 2 - name: exit - instructions: - - 'RETQ %eax' +body: | + bb.0.entry: + %eax = MOV32rm %rdi, 1, _, 0, _ + CMP32ri8 %eax, 10, implicit-def %eflags + ; CHECK: [[@LINE+1]]:22: expected an implicit register operand 'implicit %eflags' + JG_1 %bb.2.exit, implicit %eax + + bb.1.less: + %eax = MOV32r0 implicit-def %eflags + + bb.2.exit: + RETQ %eax ... |