]> granicus.if.org Git - llvm/commitdiff
New testcase
authorChris Lattner <sabre@nondot.org>
Mon, 13 Jan 2003 20:02:16 +0000 (20:02 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Jan 2003 20:02:16 +0000 (20:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2003-01-04-PhiTest.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll
new file mode 100644 (file)
index 0000000..59d5fde
--- /dev/null
@@ -0,0 +1,10 @@
+; RUN: as < %s | lli -force-interpreter=false
+
+int %main() {
+       br label %Loop
+Loop:
+       %X = phi int [0, %0], [1, %Loop]
+       br bool true, label %Out, label %Loop
+Out:
+       ret int %X
+}