New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-23 17:56:34 +00:00
parent 00b1a7e23e
commit 2b8e478b5d
2 changed files with 19 additions and 0 deletions

View File

@ -58,3 +58,10 @@ bool %test9(uint %A) {
%C = cast uint %B to bool
ret bool %C
}
uint %test10(uint %A) {
%B = and uint %A, 12
%C = xor uint %B, 15
%D = and uint %C, 1
ret uint %D
}

View File

@ -117,3 +117,15 @@ bool %test19(ubyte %A) {
%C = seteq ubyte %B, 34
ret bool %C
}
bool %test20(int %A) {
%B = xor int %A, -1
%C = and int %B, 4
%D = setne int %C, 0
%E = and int %B, 123 ; Make the usecount of B = 2
%F = cast int %E to bool
%G = and bool %D, %F
ret bool %G
}