mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user