new testcases

llvm-svn: 21716
This commit is contained in:
Chris Lattner 2005-05-06 04:52:46 +00:00
parent 873804168e
commit 8d83be2bf0
1 changed files with 14 additions and 0 deletions

View File

@ -197,3 +197,17 @@ int %test30(bool %X) {
%Z = and int %Y, 1
ret int %Z
}
uint %test31(bool %X) {
%Y = cast bool %X to uint
%Z = shl uint %Y, ubyte 4
%A = and uint %Z, 16
ret uint %A
}
uint %test32(uint %In) {
%Y = and uint %In, 16
%Z = shr uint %Y, ubyte 2
%A = and uint %Z, 1
ret uint %A
}