mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 07:59:57 +00:00
Fix testcase, the 'shift out all bits' doesn't apply to signed types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11fe8dfff7
commit
79a31b1782
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user