Add a new testcase for an eliminable cast

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-19 07:39:20 +00:00
parent 46030a6b0a
commit 6b8800d6a6

View File

@ -161,3 +161,8 @@ void %test25(int** %P) {
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
}