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

Fix testcase, the 'shift out all bits' doesn't apply to signed types.

llvm-svn: 2482
This commit is contained in:
Chris Lattner 2002-05-06 16:11:31 +00:00
parent 07c6629280
commit a81c619d2b

View File

@ -28,8 +28,8 @@ int "test4"(ubyte %A) {
ret int %B
}
int "test5"(int %A) {
%B = shr int %A, ubyte 32 ;; shift all bits out
ret int %B
uint "test5"(uint %A) {
%B = shr uint %A, ubyte 32 ;; shift all bits out
ret uint %B
}