mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
New tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d4221eeaa
commit
f7b447eb69
@ -86,3 +86,16 @@ bool %test15(sbyte %A, short %A, int %A, long %A) {
|
||||
%D = or bool %C1, %C2
|
||||
ret bool %D
|
||||
}
|
||||
|
||||
bool %test16(uint %A) {
|
||||
%B = and uint %A, 5
|
||||
%C = seteq uint %B, 8 ; Is never true
|
||||
ret bool %C
|
||||
}
|
||||
|
||||
bool %test17(ubyte %A) {
|
||||
%B = or ubyte %A, 1
|
||||
%C = seteq ubyte %B, 2 ; Always false
|
||||
ret bool %C
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user