Move generic MIR tests in their own subdir, requires "native" as well
[oota-llvm.git] / test / CodeGen / MIR / Generic / expected-eof-after-successor-mbb.mir
1 # RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2
3 --- |
4
5   define i32 @foo(i32 %a) {
6   entry:
7     %0 = icmp sle i32 %a, 10
8     br i1 %0, label %less, label %exit
9
10   less:
11     ret i32 0
12
13   exit:
14     ret i32 %a
15   }
16
17 ...
18 ---
19 name:            foo
20 body:
21   - id:          0
22     name:        entry
23     # CHECK: [[@LINE+1]]:46: expected end of string after the machine basic block reference
24     successors:  [ '%bb.1.less', '%bb.2.exit 2' ]
25   - id:          1
26     name:        less
27   - id:          2
28     name:        exit
29 ...