[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 30 13:46:01 PST 2004


Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:

PhiEliminate.ll updated: 1.2 -> 1.3

---
Log message:

Test general value/value selection which we can do now that we use the
select instruction


---
Diffs of the changes:  (+2 -1)

Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.2	Tue Mar 16 20:31:29 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll	Tue Mar 30 13:45:11 2004
@@ -9,7 +9,7 @@
 declare void %use(bool)
 declare void %use(int)
 
-void %test(bool %c, int %V) {
+void %test(bool %c, int %V, int %V2) {
 	br bool %c, label %T, label %F
 T:
 	br label %F
@@ -22,6 +22,7 @@
 	%I4 = phi int  [17, %T], [5, %0]
 	%I5 = phi int  [%V, %T], [0, %0]
 	%I6 = phi int  [%V, %0], [0, %T]
+	%I7 = phi int  [%V, %0], [%V2, %T]
 	call void %use(bool %B1)
 	call void %use(bool %B2)
 	call void %use(int  %I1)





More information about the llvm-commits mailing list