aboutsummaryrefslogtreecommitdiffstats
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.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/zapnot2.ll b/test/CodeGen/Alpha/zapnot2.ll
new file mode 100644
index 0000000..d026edd
--- /dev/null
+++ b/test/CodeGen/Alpha/zapnot2.ll
@@ -0,0 +1,10 @@
+; Make sure this testcase codegens to the zapnot instruction
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep zapnot
+
+implementation ; Functions:
+
+long %bar(long %x) {
+entry:
+ %tmp.1 = and long %x, 16711935 ; <long> [#uses=1]
+ ret long %tmp.1
+}