
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 llvm-svn: 275664
11 lines
250 B
YAML
11 lines
250 B
YAML
# RUN: not llc -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
|
# This test ensures that the machine function errors are reported correctly.
|
|
|
|
---
|
|
name: foo
|
|
...
|
|
---
|
|
# CHECK: redefinition of machine function 'foo'
|
|
name: foo
|
|
...
|