llvm-6502/test/Transforms/BlockPlacement/basictest.ll

16 lines
304 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -block-placement -disable-output -print-function 2> /dev/null
define i32 @test() {
br i1 true, label %X, label %Y
A: ; preds = %Y, %X
ret i32 0
X: ; preds = %0
br label %A
Y: ; preds = %0
br label %A
}