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 28d103548d
commit ef453e2800
1 changed files with 11 additions and 0 deletions

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
}