llvm-6502/test/Transforms/BlockPlacement/basictest.ll
2008-03-01 09:15:35 +00:00

16 lines
282 B
LLVM

; RUN: llvm-as < %s | opt -block-placement -disable-output -print
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
}