mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 14:25:18 +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:
parent
e5ad50b2e8
commit
b80e3ada7b
@ -105,3 +105,11 @@ ubyte %test16(ubyte %A) {
|
||||
%C = and ubyte %B, 3
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user