[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 18 23:39:32 PST 2006
Changes in directory llvm/test/Regression/Transforms/InstCombine:
cast.ll updated: 1.25 -> 1.26
---
Log message:
Add a new testcase for an eliminable cast
---
Diffs of the changes: (+5 -0)
cast.ll | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/cast.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast.ll:1.25 llvm/test/Regression/Transforms/InstCombine/cast.ll:1.26
--- llvm/test/Regression/Transforms/InstCombine/cast.ll:1.25 Sun Jan 30 23:51:18 2005
+++ llvm/test/Regression/Transforms/InstCombine/cast.ll Thu Jan 19 01:39:20 2006
@@ -161,3 +161,8 @@
ret void
}
+int %test26(float %F) {
+ %c = cast float %F to double ;; no need to cast from float->double.
+ %D = cast double %c to int
+ ret int %D
+}
More information about the llvm-commits
mailing list