[llvm-commits] CVS: llvm/test/Regression/Jello/test-phi.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Dec 15 14:53:01 PST 2002


Changes in directory llvm/test/Regression/Jello:

test-phi.ll updated: 1.3 -> 1.4

---
Log message:

Add new testcase for repeated preds


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-phi.ll
diff -u llvm/test/Regression/Jello/test-phi.ll:1.3 llvm/test/Regression/Jello/test-phi.ll:1.4
--- llvm/test/Regression/Jello/test-phi.ll:1.3	Fri Dec 13 04:13:45 2002
+++ llvm/test/Regression/Jello/test-phi.ll	Sun Dec 15 14:52:08 2002
@@ -11,11 +11,18 @@
 	br label %T
 }
 
+int %test(bool %C) {
+	br bool %C, label %T, label %T
+T:
+	%X = phi int [123, %0], [123, %0]
+	ret int %X
+}
+
 int %main() {
 	br label %Test
 Test:
-	%X = phi int [7, %0], [%Y, %Dead]
-	ret int 0
+	%X = phi int [0, %0], [%Y, %Dead]
+	ret int %X
 Dead:
 	%Y = shr int 12, ubyte 4
 	br label %Test





More information about the llvm-commits mailing list