new testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-02-05 07:52:47 +00:00
parent c031e33b68
commit fee906b482
2 changed files with 13 additions and 0 deletions

View File

@ -61,3 +61,9 @@ uint %test10(uint %X, bool %C) {
ret uint %R
}
uint %test10(uint %X, ubyte %B) {
%Amt = shl uint 32, ubyte %B
%V = div uint %X, %Amt
ret uint %V
}

View File

@ -31,3 +31,10 @@ uint %test4(uint %X, bool %C) {
%R = rem uint %X, %V
ret uint %R
}
uint %test5(uint %X, ubyte %B) {
%Amt = shl uint 32, ubyte %B
%V = rem uint %X, %Amt
ret uint %V
}