mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
This commit reports an error when the MIR parser can't find a basic block with the machine basic block's name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240174 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
429 B
YAML
19 lines
429 B
YAML
# RUN: not llc -start-after branch-folder -stop-after branch-folder -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: basic block 'entrie' is not defined in the function 'foo'
|
|
- name: entrie
|
|
...
|