[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/phi.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 15 23:07:01 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
phi.ll updated: 1.7 -> 1.8
---
Log message:
A new testcase for a situation that occurs in 181.mcf
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/Transforms/InstCombine/phi.ll
diff -u llvm/test/Regression/Transforms/InstCombine/phi.ll:1.7 llvm/test/Regression/Transforms/InstCombine/phi.ll:1.8
--- llvm/test/Regression/Transforms/InstCombine/phi.ll:1.7 Tue Sep 16 10:29:34 2003
+++ llvm/test/Regression/Transforms/InstCombine/phi.ll Sun Feb 15 23:06:36 2004
@@ -43,3 +43,15 @@
br label %Loop
}
+bool %test4(bool %A) {
+ br bool %A, label %BB1, label %BB2
+BB1:
+ br label %Ret
+BB2:
+ br label %Ret
+Ret:
+ %B = phi int [1000, %BB1], [123, %BB2]
+ %C = cast int %B to bool
+ ret bool %C
+}
+
More information about the llvm-commits
mailing list