MIR Serialization: Serialize the metadata machine operands.
[oota-llvm.git] / test / CodeGen / MIR / function-missing-machine-function.mir
1 # RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
2 # This test verifies that an error is reported when a MIR file has some
3 # function but is missing a corresponding machine function.
4
5 # CHECK: no machine function information for function 'foo' in the MIR file
6
7 --- |
8
9   define i32 @foo() {
10     ret i32 0
11   }
12
13 ...