git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-18 06:07:17 +00:00
parent e5ad50b2e8
commit b80e3ada7b

View File

@ -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
}