New testcases

llvm-svn: 26393
This commit is contained in:
Chris Lattner 2006-02-27 01:43:02 +00:00
parent ab8164042a
commit 7422e470f3
2 changed files with 24 additions and 0 deletions

View File

@ -124,3 +124,16 @@ int %test19(int %X, int %Y) {
%Q = add int %Z, %Y
ret int %Q
}
bool %test20(int %g, int %h) {
%tmp.2 = sub int %g, %h
%tmp.4 = setne int %tmp.2, %g
ret bool %tmp.4
}
bool %test21(int %g, int %h) {
%tmp.2 = sub int %g, %h
%tmp.4 = setne int %tmp.2, %g
ret bool %tmp.4
}

View File

@ -155,3 +155,14 @@ int %test22(bool %X) {
ret int %Q
}
bool %test23(int %a, int %b) {
%tmp.2 = xor int %b, %a
%tmp.4 = seteq int %tmp.2, %a
ret bool %tmp.4
}
bool %test24(int %c, int %d) {
%tmp.2 = xor int %d, %c
%tmp.4 = setne int %tmp.2, %c
ret bool %tmp.4
}