MIR Serialization: Change MIR syntax - use custom syntax for MBBs.
[oota-llvm.git] / test / CodeGen / MIR / X86 / missing-closing-quote.mir
1 # RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   @"quoted name" = external global i32
6
7   define i32 @test() {
8   entry:
9     %a = load i32, i32* @"quoted name"
10     ret i32 %a
11   }
12
13 ...
14 ---
15 name:            test
16 body: |
17   bb.0.entry:
18     ; CHECK: [[@LINE+1]]:48: end of machine instruction reached before the closing '"'
19     %rax = MOV64rm %rip, 1, _, @"quoted name, _
20     %eax = MOV32rm killed %rax, 1, _, 0, _
21     RETQ %eax
22 ...