mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
Add a new testcase for an eliminable cast
llvm-svn: 25451
This commit is contained in:
parent
b15de45374
commit
ad5c08f99e
@ -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