Matthias Braun | 538859c | 2016-07-16 02:24:59 +0000 | [diff] [blame] | 1 | # RUN: llc -run-pass none -o - %s 2>&1 | FileCheck %s |
Alex Lorenz | 8a1915b | 2015-07-27 22:42:41 +0000 | [diff] [blame] | 2 | # This test ensures that the MIR parser preserves unnamed LLVM IR block |
| 3 | # references. |
| 4 | |
| 5 | --- | |
| 6 | |
| 7 | define i32 @foo() { |
| 8 | ret i32 0 |
| 9 | } |
| 10 | |
| 11 | ... |
| 12 | --- |
| 13 | name: foo |
Alex Lorenz | 5022f6b | 2015-08-13 23:10:16 +0000 | [diff] [blame] | 14 | body: | |
| 15 | ; CHECK: bb.0 (%ir-block.0): |
| 16 | bb.0 (%ir-block.0): |
Alex Lorenz | 8a1915b | 2015-07-27 22:42:41 +0000 | [diff] [blame] | 17 | ... |