mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add some more testcases for things to get optimized away
llvm-svn: 3896
This commit is contained in:
parent
a4184f9ab6
commit
bacc51a4e3
@ -57,3 +57,14 @@ long %test8(sbyte %A) {
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user