diff --git a/test/CodeGen/Alpha/zapnot4.ll b/test/CodeGen/Alpha/zapnot4.ll new file mode 100644 index 00000000000..bf1b88bed14 --- /dev/null +++ b/test/CodeGen/Alpha/zapnot4.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=alpha | grep zapnot + +ulong %foo(ulong %y) { + %tmp = shl ulong %y, ubyte 3 ; [#uses=1] + %tmp2 = and ulong %tmp, 65535 ; [#uses=1] + ret ulong %tmp2 +} +