1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/ExecutionEngine/test-logical.ll

24 lines
360 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2004-11-07 00:32:43 +01:00
; RUN: lli %t.bc > /dev/null
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
2003-01-13 01:57:11 +01:00
%A = and long 4, 8
%B = or long %A, 7
%C = xor long %B, %A
ret int 0
}