From 80563ff1a520653391742e206e94d6a3a0e7de41 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Thu, 14 Apr 2005 16:17:49 +0000 Subject: [PATCH] added a random and mask test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21301 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Alpha/zapnot2.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/Alpha/zapnot2.ll 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 +} -- 2.34.1