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

16 lines
294 B
LLVM
Raw Normal View History

; RUN: opt < %s -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
}