1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/ExecutionEngine/test-branch.ll

14 lines
265 B
LLVM
Raw Normal View History

; RUN: llvm-as %s -o %t.bc
2004-11-07 00:32:43 +01:00
; RUN: lli %t.bc > /dev/null
; test unconditional branch
define i32 @main() {
br label %Test
Test: ; preds = %Test, %0
%X = icmp eq i32 0, 4 ; <i1> [#uses=1]
br i1 %X, label %Test, label %Label
Label: ; preds = %Test
ret i32 0
}