diff --git a/test/CodeGen/Alpha/zapnot2.ll b/test/CodeGen/Alpha/zapnot2.ll new file mode 100644 index 00000000000..342c269cde8 --- /dev/null +++ b/test/CodeGen/Alpha/zapnot2.ll @@ -0,0 +1,10 @@ +; Make sure this testcase codegens to the zapnot instruction +; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' + +implementation ; Functions: + +long %bar(long %x) { +entry: + %tmp.1 = and long %x, 255 ; [#uses=1] + ret long %tmp.2 +}