More testcases I don't want to forget about

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-05-06 05:51:26 +00:00
parent 33a90b18e0
commit 829b79dd8c
4 changed files with 91 additions and 1 deletions

View File

@@ -33,9 +33,30 @@ bool "test5"(bool %A) {
ret bool %B
}
int "test5"(int %A) {
int "test6"(int %A) {
%B = xor int %A, 0
ret int %B
}
bool "test7"(bool %A) {
%B = xor bool %A, %A
ret bool %B
}
int "test8"(int %A) {
%B = xor int %A, %A
ret int %B
}
bool "test9"(bool %A) {
%B = or bool %A, %A
ret bool %B
}
int "test10"(int %A) {
%B = or int %A, %A
ret int %B
}