mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-21 12:56:10 +00:00

This does not schedule any passes besides the ones necessary to construct and print the machine function. This is useful to test .mir file reading and printing. Differential Revision: http://reviews.llvm.org/D22432 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275664 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
398 B
YAML
19 lines
398 B
YAML
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
|
# This test ensures that an error is reported whenever the MIR parser can't find
|
|
# a basic block with the machine basis block's name.
|
|
|
|
--- |
|
|
|
|
define i32 @foo() {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
...
|
|
---
|
|
name: foo
|
|
body: |
|
|
; CHECK: [[@LINE+1]]:3: basic block 'entrie' is not defined in the function 'foo'
|
|
bb.0.entrie:
|
|
...
|