mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
bb2cd15df7
llvm-svn: 17536
24 lines
343 B
LLVM
24 lines
343 B
LLVM
; RUN: llvm-as -f %s -o %t.bc
|
|
; 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
|
|
|
|
%A = and long 4, 8
|
|
%B = or long %A, 7
|
|
%C = xor long %B, %A
|
|
|
|
ret int 0
|
|
}
|