mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
955f331a77
commit
0b948848eb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user