summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Alpha/zapnot2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Alpha/zapnot2.ll')
-rw-r--r--test/CodeGen/Alpha/zapnot2.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/zapnot2.ll b/test/CodeGen/Alpha/zapnot2.ll
new file mode 100644
index 0000000..cd3caae
--- /dev/null
+++ b/test/CodeGen/Alpha/zapnot2.ll
@@ -0,0 +1,9 @@
+; Make sure this testcase codegens to the zapnot instruction
+; RUN: llc < %s -march=alpha | grep zapnot
+
+define i64 @bar(i64 %x) {
+entry:
+ %tmp.1 = and i64 %x, 16711935 ; <i64> [#uses=1]
+ ret i64 %tmp.1
+}
+