linux-packaging-mono/external/llvm/test/CodeGen/MIR/Generic/machine-function-missing-body.mir
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

16 lines
277 B
YAML

# RUN: llc -run-pass none -o - %s | FileCheck %s
# This test ensures that the MIR parser accepts files with llvm IR but
# no machine function body.
--- |
; CHECK: define i32 @foo()
define i32 @foo() {
ret i32 0
}
...
---
# CHECK: name: foo
name: foo
...