[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/add.ll set.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 28 22:06:25 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
add.ll updated: 1.21 -> 1.22
set.ll updated: 1.13 -> 1.14
---
Log message:
New testcases
---
Diffs of the changes: (+27 -0)
Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.21 llvm/test/Regression/Transforms/InstCombine/add.ll:1.22
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.21 Fri Jul 2 19:25:31 2004
+++ llvm/test/Regression/Transforms/InstCombine/add.ll Wed Sep 29 00:06:12 2004
@@ -149,3 +149,17 @@
Lab2:
ret int 1231231
}
+
+int %test23(bool %C, int %a) {
+entry:
+ br bool %C, label %endif, label %else
+
+else:
+ br label %endif
+
+endif:
+ %b.0 = phi int [ 0, %entry ], [ 1, %else ]
+ %tmp.4 = add int %b.0, 1
+ ret int %tmp.4
+}
+
Index: llvm/test/Regression/Transforms/InstCombine/set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/set.ll:1.13 llvm/test/Regression/Transforms/InstCombine/set.ll:1.14
--- llvm/test/Regression/Transforms/InstCombine/set.ll:1.13 Tue Sep 16 10:29:34 2003
+++ llvm/test/Regression/Transforms/InstCombine/set.ll Wed Sep 29 00:06:12 2004
@@ -87,3 +87,16 @@
ret bool %C
}
+bool %test18(bool %C, int %a) {
+entry:
+ br bool %C, label %endif, label %else
+
+else:
+ br label %endif
+
+endif:
+ %b.0 = phi int [ 0, %entry ], [ 1, %else ]
+ %tmp.4 = setlt int %b.0, 123
+ ret bool %tmp.4
+}
+
More information about the llvm-commits
mailing list