aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/02-RetAnd.ll
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:32:49 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 13:32:49 +0000
commite6220fb2305bdc993dc9039fffafd82c609c1c50 (patch)
treeefdac4ddcdeba19d5e21c733b9f853d01dbfb69f /test/CodeGen/SystemZ/02-RetAnd.ll
parentbdc908169369dc2c0d7f56b665b627c47690b150 (diff)
downloadexternal_llvm-e6220fb2305bdc993dc9039fffafd82c609c1c50.zip
external_llvm-e6220fb2305bdc993dc9039fffafd82c609c1c50.tar.gz
external_llvm-e6220fb2305bdc993dc9039fffafd82c609c1c50.tar.bz2
Add reg-reg and pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/02-RetAnd.ll')
-rw-r--r--test/CodeGen/SystemZ/02-RetAnd.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/02-RetAnd.ll b/test/CodeGen/SystemZ/02-RetAnd.ll
new file mode 100644
index 0000000..e174d07
--- /dev/null
+++ b/test/CodeGen/SystemZ/02-RetAnd.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc
+
+define i64 @foo(i64 %a, i64 %b) {
+entry:
+ %c = and i64 %a, %b
+ ret i64 %c
+} \ No newline at end of file