mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 18:20:39 +00:00
New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -105,3 +105,11 @@ ubyte %test16(ubyte %A) {
|
|||||||
%C = and ubyte %B, 3
|
%C = and ubyte %B, 3
|
||||||
ret ubyte %C
|
ret ubyte %C
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y)
|
||||||
|
%B = xor sbyte %X, -1
|
||||||
|
%C = and sbyte %B, %Y
|
||||||
|
%D = xor sbyte %C, -1
|
||||||
|
ret sbyte %D
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user