Test more phi stuff
authorChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 10:12:50 +0000 (10:12 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Dec 2002 10:12:50 +0000 (10:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5005 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/test-phi.ll

index 11aacc10fbf21d76baa9f5aae1b4eb9a10df7214..785a41b4f3518d9b5f30e73efe7dbaa256167326 100644 (file)
@@ -1,4 +1,16 @@
 ; test phi node
+
+%Y = global int 6
+
+void %blah(int *%X) {
+       br label %T
+T:
+       phi int* [%X, %0], [%Y, %Dead]
+       ret void
+Dead:
+       br label %T
+}
+
 void %main() {
        br label %Test
 Test: