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

13 lines
221 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2004-11-07 00:32:43 +01:00
; RUN: lli %t.bc > /dev/null
; test unconditional branch
int %main() {
br label %Test
Test:
%X = seteq int 0, 4
br bool %X, label %Test, label %Label
Label:
ret int 0
}