1 ; RUN: llc < %s -march=c 2 3 ; This case was emitting code that looked like this: 4 ; ... 5 ; llvm_BB1: /* no statement here */ 6 ; } 7 ; 8 ; Which the Sun C compiler rejected, so now we are sure to put a return 9 ; instruction in there if the basic block is otherwise empty. 10 ; 11 define void @test() { 12 br label %BB1 13 14 BB2: ; preds = %BB2 15 br label %BB2 16 17 BB1: ; preds = %0 18 ret void 19 } 20 21