Files
clang-p2996/llvm/test/CodeGen/MIR/X86/empty2.mir
Matthias Braun 7bda195812 CodeGen: Refactor MIR parsing
When parsing .mir files immediately construct the MachineFunctions and
put them into MachineModuleInfo.

This allows us to get rid of the delayed construction (and delayed error
reporting) through the MachineFunctionInitialzier interface.

Differential Revision: https://reviews.llvm.org/D33809

llvm-svn: 304758
2017-06-06 00:44:35 +00:00

9 lines
198 B
YAML

# RUN: llc -run-pass none -o - %s | FileCheck %s
# Make sure empty files don't crash us
---
...
# CHECK: --- |
# ... moduleid, sourcefilename stuff here ..
# CHECK: target datalayout =
# CHECK: ...