[llvm-commits] CVS: llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 12 20:27:58 PDT 2004
Changes in directory llvm/test/Regression/Transforms/CodeExtractor:
2004-08-12-BlockExtractPHI.ll updated: 1.1 -> 1.2
---
Log message:
Add another test
---
Diffs of the changes: (+16 -1)
Index: llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll
diff -u llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll:1.1 llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll:1.2
--- llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll:1.1 Thu Aug 12 22:08:54 2004
+++ llvm/test/Regression/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll Thu Aug 12 22:27:48 2004
@@ -2,7 +2,7 @@
implementation
-void %l102_yyparse() {
+void %test1() {
no_exit.0.i:
br bool false, label %yylex.entry, label %yylex.entry
@@ -10,3 +10,18 @@
%tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
ret void
}
+
+void %test2() {
+no_exit.0.i:
+ switch uint 0, label %yylex.entry [
+ uint 0, label %yylex.entry
+ uint 1, label %foo
+ ]
+
+yylex.entry:
+ %tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ]
+ ret void
+foo:
+ ret void
+}
+
More information about the llvm-commits
mailing list