1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add some more testcases for things to get optimized away

llvm-svn: 3896
This commit is contained in:
Chris Lattner 2002-09-23 23:39:17 +00:00
parent a4184f9ab6
commit bacc51a4e3

View File

@ -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
}