From 5a23ddfa17f889ae6ab1d73a3835a39a2af131b8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 2 Nov 2002 20:04:02 +0000 Subject: [PATCH] New testcase for logical operators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4501 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/test-logical.ll | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/ExecutionEngine/test-logical.ll diff --git a/test/ExecutionEngine/test-logical.ll b/test/ExecutionEngine/test-logical.ll new file mode 100644 index 00000000000..732054d6f88 --- /dev/null +++ b/test/ExecutionEngine/test-logical.ll @@ -0,0 +1,16 @@ + +void %test() { + %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 +}