Files
clang-p2996/llvm/test/CodeGen/MIR/Generic/function-missing-machine-function.mir
Mehdi Amini 63c3989f6a Move generic MIR tests in their own subdir, requires "native" as well
These tests rely on the native backend to be built-in.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 243959
2015-08-04 06:32:45 +00:00

14 lines
366 B
YAML

# RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
# This test verifies that an error is reported when a MIR file has some
# function but is missing a corresponding machine function.
# CHECK: no machine function information for function 'foo' in the MIR file
--- |
define i32 @foo() {
ret i32 0
}
...