From f8310c83dd20a2ee7fd610053c93cd085a063dbb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Dec 2002 10:12:50 +0000 Subject: [PATCH] Test more phi stuff llvm-svn: 5005 --- test/Regression/Jello/test-phi.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/Regression/Jello/test-phi.ll b/test/Regression/Jello/test-phi.ll index 11aacc10fbf..785a41b4f35 100644 --- a/test/Regression/Jello/test-phi.ll +++ b/test/Regression/Jello/test-phi.ll @@ -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: