New testcase

llvm-svn: 16560
This commit is contained in:
Chris Lattner 2004-09-28 22:31:49 +00:00
parent 623826c888
commit efc0614cd6
1 changed files with 15 additions and 0 deletions

View File

@ -113,3 +113,18 @@ int %test17(int %A) {
%D = or int %B, %C ; %D = and int %B, 5
ret int %D
}
bool %test18(int %A) {
%B = setge int %A, 100
%C = setlt int %A, 50
%D = or bool %B, %C ;; (A-50) >u 50
ret bool %D
}
bool %test19(int %A) {
%B = seteq int %A, 50
%C = seteq int %A, 51
%D = or bool %B, %C ;; (A-50) < 2
ret bool %D
}