llvm/test/ExecutionEngine/test-logical.ll
Tanya Lattner e9789ef994 Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:32:43 +00:00

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
}