forked from OSchip/llvm-project
parent
c89fdf1eb3
commit
b624bb5f0d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue