llvm-6502/test/ExecutionEngine/test-logical.ll
Chris Lattner 9f1bd80102 Add main functions to benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4915 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 17:15:07 +00:00

17 lines
220 B
LLVM

void %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
ret void
}