new testcases

llvm-svn: 26002
This commit is contained in:
Chris Lattner 2006-02-05 07:52:47 +00:00
parent c89fdf1eb3
commit b624bb5f0d
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
}