Add new testcase for arithmetic shr of -1

llvm-svn: 4069
This commit is contained in:
Chris Lattner 2002-10-08 16:10:35 +00:00
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
}