YouCompleteMe/cpp/llvm/test/Transforms/BlockPlacement/basictest.ll

16 lines
294 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
}