mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 19:37:56 +00:00
Add new testcase for arithmetic shr of -1
llvm-svn: 4069
This commit is contained in:
parent
717bd8eb0b
commit
1e39dc6f80
@ -37,3 +37,8 @@ uint %test6(uint %A) {
|
||||
%B = shl uint %A, ubyte 1 ;; convert to an add instruction
|
||||
ret uint %B
|
||||
}
|
||||
|
||||
int %test7(ubyte %A) {
|
||||
%B = shr int -1, ubyte %A ;; Always equal to -1
|
||||
ret int %B
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user