summaryrefslogtreecommitdiffstats
path: root/test/Feature/testlogical.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-29 13:56:42 +0000
committerChris Lattner <sabre@nondot.org>2001-10-29 13:56:42 +0000
commitb82f5e7c0045176161a0389f10e6af533860f18a (patch)
tree3f37455d101ba269ce6e0fd7cd4cb2d0ddc1a6d8 /test/Feature/testlogical.ll
parent24d3a8b58df2063e3b4bdaafc1bf8170be7fd7a4 (diff)
downloadexternal_llvm-b82f5e7c0045176161a0389f10e6af533860f18a.zip
external_llvm-b82f5e7c0045176161a0389f10e6af533860f18a.tar.gz
external_llvm-b82f5e7c0045176161a0389f10e6af533860f18a.tar.bz2
Test bitwise operations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/testlogical.ll')
-rw-r--r--test/Feature/testlogical.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Feature/testlogical.ll b/test/Feature/testlogical.ll
new file mode 100644
index 0000000..d1f8c25
--- /dev/null
+++ b/test/Feature/testlogical.ll
@@ -0,0 +1,10 @@
+implementation
+
+int "simpleAdd"(int %i0, int %j0)
+begin
+ %t1 = xor int %i0, %j0
+ %t2 = or int %i0, %j0
+ %t3 = and int %t1, %t2
+ ret int %t3
+end
+