[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 23 18:39:01 PDT 2002
Changes in directory llvm/test/Regression/Transforms/InstCombine:
cast.ll updated: 1.5 -> 1.6
---
Log message:
Add some more testcases for things to get optimized away
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/cast.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast.ll:1.5 llvm/test/Regression/Transforms/InstCombine/cast.ll:1.6
--- llvm/test/Regression/Transforms/InstCombine/cast.ll:1.5 Thu Aug 15 11:13:29 2002
+++ llvm/test/Regression/Transforms/InstCombine/cast.ll Mon Sep 23 18:39:17 2002
@@ -57,3 +57,14 @@
ret long %res
}
+short %test9(short %A) {
+ %c1 = cast short %A to int
+ %c2 = cast int %c1 to short
+ ret short %c2
+}
+
+short %test10(short %A) {
+ %c1 = cast short %A to uint
+ %c2 = cast uint %c1 to short
+ ret short %c2
+}
More information about the llvm-commits
mailing list