aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/02-RetAnd.ll
diff options
context:
space:
mode:
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