Modernize testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-03-10 18:20:53 +00:00
parent 3d87b42bf9
commit a66e2fa195

View File

@ -8,27 +8,27 @@
implementation
int "test1"(int %A) {
int %test1(int %A) {
%B = shl int %A, ubyte 0
ret int %B
}
int "test2"(ubyte %A) {
int %test2(ubyte %A) {
%B = shl int 0, ubyte %A
ret int %B
}
int "test3"(int %A) {
int %test3(int %A) {
%B = shr int %A, ubyte 0
ret int %B
}
int "test4"(ubyte %A) {
int %test4(ubyte %A) {
%B = shr int 0, ubyte %A
ret int %B
}
uint "test5"(uint %A) {
uint %test5(uint %A) {
%B = shr uint %A, ubyte 32 ;; shift all bits out
ret uint %B
}