Add a slight variant of test10

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-23 05:59:52 +00:00
parent 45aaafef49
commit f4821745df

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
}