mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 10:27:09 +00:00
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:
parent
46030a6b0a
commit
6b8800d6a6
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user