forked from OSchip/llvm-project
Add some more testcases for things to get optimized away
llvm-svn: 3896
This commit is contained in:
parent
28d103548d
commit
ef453e2800
|
@ -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