[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Jul 19 17:57:31 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
cast.ll updated: 1.20 -> 1.21
---
Log message:
Testcases missed by the instruction combiner
---
Diffs of the changes: (+14 -0)
Index: llvm/test/Regression/Transforms/InstCombine/cast.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast.ll:1.20 llvm/test/Regression/Transforms/InstCombine/cast.ll:1.21
--- llvm/test/Regression/Transforms/InstCombine/cast.ll:1.20 Mon May 24 23:28:43 2004
+++ llvm/test/Regression/Transforms/InstCombine/cast.ll Mon Jul 19 19:57:21 2004
@@ -103,3 +103,17 @@
%c = cast int* %P to bool ;; setne P, null
ret bool %c
}
+
+
+short %test17(bool %tmp3) {
+ %c = cast bool %tmp3 to int
+ %t86 = cast int %c to short
+ ret short %t86
+}
+
+short %test18(sbyte %tmp3) {
+ %c = cast sbyte %tmp3 to int
+ %t86 = cast int %c to short
+ ret short %t86
+}
+
More information about the llvm-commits
mailing list