llvm-6502/test/ExecutionEngine/test-logical.ll
Chris Lattner 67920c563b TEst longs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5247 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 00:57:11 +00:00

21 lines
283 B
LLVM

int %main() {
%A = and sbyte 4, 8
%B = or sbyte %A, 7
%C = xor sbyte %B, %A
%A = and short 4, 8
%B = or short %A, 7
%C = xor short %B, %A
%A = and int 4, 8
%B = or int %A, 7
%C = xor int %B, %A
%A = and long 4, 8
%B = or long %A, 7
%C = xor long %B, %A
ret int 0
}