New testcase, the JIT currently handles this right, I just don't want to
authorChris Lattner <sabre@nondot.org>
Thu, 5 Jun 2003 16:57:55 +0000 (16:57 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 5 Jun 2003 16:57:55 +0000 (16:57 +0000)
reintroduce a bug that didn't have a testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6623 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2003-06-05-PHIBug.ll [new file with mode: 0644]

diff --git a/test/ExecutionEngine/2003-06-05-PHIBug.ll b/test/ExecutionEngine/2003-06-05-PHIBug.ll
new file mode 100644 (file)
index 0000000..0abe5d8
--- /dev/null
@@ -0,0 +1,16 @@
+; Testcase distilled from 256.bzip2.
+
+target endian = little
+target pointersize = 32
+
+int %main() {
+entry:
+       %X = add int 1, -1
+       br label %Next
+
+Next:
+       %A = phi int [ %X, %entry ]
+       %B = phi int [ %X, %entry ]
+       %C = phi int [ %X, %entry ]
+       ret int %C
+}