mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 03:26:05 +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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user