If you run llc -stop-after=codegenprepare and feed the resulting MIR to llc -start-after=codegenprepare, you'll have an empty machine function since we haven't run any isel yet. Of course, this only works if the MIRParser believes you that this is okay. This is essentially a revert of r241862 with a fix for the problem it was papering over. llvm-svn: 299975
8 lines
162 B
YAML
8 lines
162 B
YAML
# RUN: llc -run-pass none -o - %s | FileCheck %s
|
|
# This test ensures that the MIR parser accepts files without the LLVM IR.
|
|
|
|
---
|
|
# CHECK: name: foo
|
|
name: foo
|
|
...
|