1 # RUN: not llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s 2 # This test ensures that the MIR parser reports an error when it encounters a 3 # machine function with an empty body. 4 5 --- | 6 7 define i32 @foo() { 8 ret i32 0 9 } 10 11 ... 12 --- 13 # CHECK: machine function 'foo' requires at least one machine basic block in its body 14 name: foo 15 ... 16