llvm-mirror/test/Regression/ExecutionEngine/test-loop.ll
Chris Lattner de27290f6b Genericize tests
llvm-svn: 10091
2003-11-19 19:44:28 +00:00

13 lines
174 B
LLVM

int %main() {
br label %Loop
Loop:
%I = phi int [0, %0], [%i2, %Loop]
%i2 = add int %I, 1
%C = seteq int %i2, 10
br bool %C, label %Out, label %Loop
Out:
ret int 0
}