mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16527 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f90a656a9f
commit
dffb445503
@ -119,6 +119,12 @@ bool %test18(int %A) {
|
|||||||
ret bool %C
|
ret bool %C
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool %test18a(ubyte %A) {
|
||||||
|
%B = and ubyte %A, 254
|
||||||
|
%C = seteq ubyte %B, 0
|
||||||
|
ret bool %C
|
||||||
|
}
|
||||||
|
|
||||||
int %test19(int %A) {
|
int %test19(int %A) {
|
||||||
%B = shl int %A, ubyte 3
|
%B = shl int %A, ubyte 3
|
||||||
%C = and int %B, -2 ;; Clearing a zero bit
|
%C = and int %B, -2 ;; Clearing a zero bit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user