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
9 lines
200 B
YAML
9 lines
200 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: ...
|