New testcase
authorChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 12:10:16 +0000 (12:10 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 12:10:16 +0000 (12:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5018 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/test-loop.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/test-loop.ll b/test/ExecutionEngine/test-loop.ll
new file mode 100644 (file)
index 0000000..b84da83
--- /dev/null
@@ -0,0 +1,12 @@
+
+
+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
+}