diff --git a/test/CodeGen/Alpha/zapnot.ll b/test/CodeGen/Alpha/zapnot.ll
new file mode 100644
index 00000000000..f7cb294da9d
--- /dev/null
+++ b/test/CodeGen/Alpha/zapnot.ll
@@ -0,0 +1,11 @@
+; Make sure this testcase codegens to the bic instruction
+; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
+
+implementation   ; Functions:
+
+ushort %foo(long %y) {
+entry:
+        %tmp.1 = cast long %y to ushort         ; <ushort> [#uses=1]
+        ret ushort %tmp.1
+}
+