llvm/test/ExecutionEngine/test-branch.ll
Chris Lattner 8b88e8f298 Infinite loops, are, well, not good
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4987 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 05:28:50 +00:00

10 lines
144 B
LLVM

; test unconditional branch
void %main() {
br label %Test
Test:
%X = seteq int 0, 4
br bool %X, label %Test, label %Label
Label:
ret void
}