mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-24 12:50:42 +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
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
|
|
...
|