Add a slight variant of test10

llvm-svn: 11736
This commit is contained in:
Chris Lattner 2004-02-23 05:59:52 +00:00
parent 59611149ee
commit fb302df02c
1 changed files with 7 additions and 0 deletions

View File

@ -58,3 +58,10 @@ uint %test10(int %a, uint %b) {
ret uint %e
}
uint %test11(int %a, uint %b) {
%c = setle int %a, -1
%d = cast bool %c to uint
%e = mul uint %d, %b ; e = b & (a >> 31)
ret uint %e
}